dayzdockerserver/docker-compose.yml
Daniel Ceregatti b141d2b0da Refactor to use only one volume, one for the entire contents of the user's home directory. This simplifies a lot.
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.
2022-03-25 23:17:55 -07:00

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