Improve/add initial project structure for ZomboidForge with build system, runtime, and patching logic.
Added version support for building images.
This commit is contained in:
1 parent
bf9228d2be
commit
015e9bb2c8
32 files changed
+1268
-58
No files matched your search
+21
-9
@@ -1,19 +1,31 @@
|
||||
# Local test setup: `podman compose up --build`. Passwords are read from the
|
||||
# environment or from .env (gitignored).
|
||||
# Local test setup: `podman compose up --build`. Settings are read from the
|
||||
# environment or from .env (gitignored); docker/entrypoint.sh lists all variables.
|
||||
services:
|
||||
zomboidforge:
|
||||
build: .
|
||||
image: localhost/zomboidforge:dev
|
||||
platform: linux/amd64
|
||||
environment:
|
||||
SERVER_NAME: ${SERVER_NAME:-zomboidforgetest}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-}
|
||||
RCON_PASSWORD: ${RCON_PASSWORD:-}
|
||||
JVM_MAX_HEAP: ${JVM_MAX_HEAP:-8g}
|
||||
SERVER_NAME: ${SERVER_NAME:-zomboidforgetest}
|
||||
SERVER_PASSWORD: ${SERVER_PASSWORD:-}
|
||||
PUBLIC: ${PUBLIC:-}
|
||||
PUBLIC_NAME: ${PUBLIC_NAME:-}
|
||||
PORT: ${PORT:-16261}
|
||||
UDP_PORT: ${UDP_PORT:-16262}
|
||||
ADMIN_USERNAME: ${ADMIN_USERNAME:-}
|
||||
ADMIN_PASSWORD: ${ADMIN_PASSWORD:-}
|
||||
SERVER_PRESET: ${SERVER_PRESET:-}
|
||||
MODS: ${MODS:-}
|
||||
WORKSHOP_ITEMS: ${WORKSHOP_ITEMS:-}
|
||||
RCON_PASSWORD: ${RCON_PASSWORD:-}
|
||||
JVM_MIN_HEAP: ${JVM_MIN_HEAP:-}
|
||||
JVM_MAX_HEAP: ${JVM_MAX_HEAP:-8g}
|
||||
ports:
|
||||
- "16261:16261/udp"
|
||||
- "16262:16262/udp"
|
||||
- "27015:27015/tcp"
|
||||
# Host and container ports must be equal: the server reports its own port
|
||||
# to Steam and to clients, so a remapped port is unreachable.
|
||||
- "${PORT:-16261}:${PORT:-16261}/udp"
|
||||
- "${UDP_PORT:-16262}:${UDP_PORT:-16262}/udp"
|
||||
- "127.0.0.1:27015:27015/tcp"
|
||||
volumes:
|
||||
- zomboid-data:/data
|
||||
# SIGTERM runs GameServer's shutdown hook, which queues a save-and-quit.
|
||||
|
||||
Reference in new issue
Block a user