From b3781c2fcd35a262fe3d4a85531e4a3b7e674434 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Thu, 30 Mar 2023 10:19:05 -0700 Subject: [PATCH] Add debugging comments. --- docker-compose.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 886c78c..9751e41 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,9 @@ services: main: build: . + volumes: + - homedir:/home/user + - ./files:/files # To have the server show up in the LAN tab of the DayZ launcher, # it must run under host mode. network_mode: host @@ -27,9 +30,11 @@ services: # Allows attaching a debugger from the host # cap_add: # - SYS_PTRACE + # Allows core files to be created within the container. These are VERY LARGE! Enable only for debugging! +# ulimits: +# core: +# soft: -1 +# hard: -1 # Do nothing instead of starting the server, which is the default. # Helpful for development or debugging. # command: tail -f /dev/null - volumes: - - homedir:/home/user - - ./files:/files