Add Docker build system for ZomboidForge with containerized server setup, Gradle build logic, and project configuration.
This commit is contained in:
1 parent
d4c5a9d45f
commit
bf9228d2be
18 files changed
+747
-55
No files matched your search
@@ -0,0 +1,23 @@
|
||||
# Local test setup: `podman compose up --build`. Passwords are read from the
|
||||
# environment or from .env (gitignored).
|
||||
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}
|
||||
ports:
|
||||
- "16261:16261/udp"
|
||||
- "16262:16262/udp"
|
||||
- "27015:27015/tcp"
|
||||
volumes:
|
||||
- zomboid-data:/data
|
||||
# SIGTERM runs GameServer's shutdown hook, which queues a save-and-quit.
|
||||
stop_grace_period: 2m
|
||||
|
||||
volumes:
|
||||
zomboid-data:
|
||||
Reference in new issue
Block a user