mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00

Make all bash changes to the dayzserver script instead of creating a wrapper. Handle the server config and Battle Eye string substitution. Add the default.cfg from upstream and handle it locally.
20 lines
No EOL
500 B
YAML
20 lines
No EOL
500 B
YAML
version: "3.3"
|
|
|
|
volumes:
|
|
homedir:
|
|
|
|
services:
|
|
|
|
dayzserver:
|
|
build: .
|
|
ports:
|
|
- "2302:2302/udp"
|
|
- "27016:27016/udp"
|
|
volumes:
|
|
- homedir:/home/user
|
|
- ./files:/files
|
|
environment:
|
|
# Don't use double quotes. Escape any forward slashes: SERVERNAME=My thing \/ My other thing
|
|
- SERVERNAME=DayZ on Linux for Linux
|
|
# Set your own RCON password. Otherwise, a random one will be generated and shown in the log on the first run.
|
|
# - RCON_PASSWORD=H4CKM3 |