mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-07 14:51:17 +00:00
22 lines
550 B
YAML
22 lines
550 B
YAML
services:
|
|
dayz:
|
|
build:
|
|
context: .
|
|
args:
|
|
- USER_ID
|
|
user: ${USER_ID}
|
|
volumes:
|
|
- ./dayz:/home/user
|
|
network_mode: host
|
|
# The above is mutually exclusive with the below. If you don't need
|
|
# the server to show up on the LAN, comment out the network_mode above
|
|
# and uncomment the port mappings below.
|
|
# ports:
|
|
# # Game port
|
|
# - 2302:2302/udp
|
|
# # RCON port
|
|
# - 2303:2303/udp
|
|
# # Steam port
|
|
# - 27016:27016/udp
|
|
env_file:
|
|
- .env
|