From 9d55820ef3ed4e2d5bb5d86d55ecfbcb8c47a5eb Mon Sep 17 00:00:00 2001 From: STAM Date: Mon, 10 Feb 2020 19:13:10 +0300 Subject: [PATCH 01/17] csgo test image --- linux/csgo/Dockerfile | 23 +++++++++++++++++++++++ linux/csgo/Makefile | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 linux/csgo/Dockerfile create mode 100644 linux/csgo/Makefile diff --git a/linux/csgo/Dockerfile b/linux/csgo/Dockerfile new file mode 100644 index 0000000..ba080b2 --- /dev/null +++ b/linux/csgo/Dockerfile @@ -0,0 +1,23 @@ +FROM epicmorg/steamcmd +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" +ARG DEBIAN_FRONTEND=noninteractive + +WORKDIR $VALVE_GAME_FOLDER + +################################################################## +# installing csgo +################################################################## + +RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 740 validate +quit && \ + ls -asl $VALVE_GAME_FOLDER + + +################################################################## +# cleaninig up +################################################################## +RUN apt clean -y && \ + apt autoclean -y && \ + rm -rfv $VALVE_STEAMCMD_FOLDER/steamcmd_linux.tar.gz && \ + rm -rfv /tmp/ && \ + rm -rfv /var/lib/apt/lists/* && \ + rm -rfv /var/cache/apt/archives/*.deb diff --git a/linux/csgo/Makefile b/linux/csgo/Makefile new file mode 100644 index 0000000..03064fa --- /dev/null +++ b/linux/csgo/Makefile @@ -0,0 +1,5 @@ +all: emgcmd +emgcmd: + docker build --compress -t epicmorg/edge:csgo . +# docker push epicmorg/edge:csgo + From 5a66a8e07f7a1e6dbf6cc3ce11f7ee04850a5ab5 Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 09:52:29 +0000 Subject: [PATCH 02/17] 7d2d test --- linux/7d2d/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 linux/7d2d/Dockerfile diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile new file mode 100644 index 0000000..39fe3da --- /dev/null +++ b/linux/7d2d/Dockerfile @@ -0,0 +1,8 @@ +FROM epicmorg/steamcmd + +WORKDIR $VALVE_GAME_FOLDER + +RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit && \ +CMD $VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ + -logfile $VALVE_GAME_FOLDER/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ + -quit -batchmode -nographics -dedicated -configfile=$VALVE_STEAMCMD_FOLDER/vol/serverconfig.xml From 1629252d42ef6b7f84358bc975630a6d800881ed Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 09:55:24 +0000 Subject: [PATCH 03/17] steamcmd --- linux/steamcmd/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/steamcmd/Dockerfile b/linux/steamcmd/Dockerfile index a8897d0..4cb0b83 100644 --- a/linux/steamcmd/Dockerfile +++ b/linux/steamcmd/Dockerfile @@ -13,7 +13,7 @@ WORKDIR $VALVE_STEAMCMD_FOLDER ################################################################## # installing steamcmd ################################################################## -RUN mkdir -p $VALVE_STEAMCMD_FOLDER +RUN mkdir -p $VALVE_STEAMCMD_FOLDER $VALVE_GAME_FOLDER ADD http://media.steampowered.com/installer/steamcmd_linux.tar.gz $VALVE_STEAMCMD_FOLDER RUN dpkg --add-architecture i386 && \ From 886a1d0020ac357f00eedf8cf2545479fbf9a6ac Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 11:09:57 +0000 Subject: [PATCH 04/17] 7d2d test --- linux/7d2d/compose.sh | 4 ++++ linux/7d2d/docker-compose.yml | 14 ++++++++++++++ linux/7d2d/run_7d2d.sh | 4 ++++ 3 files changed, 22 insertions(+) create mode 100755 linux/7d2d/compose.sh create mode 100644 linux/7d2d/docker-compose.yml create mode 100644 linux/7d2d/run_7d2d.sh diff --git a/linux/7d2d/compose.sh b/linux/7d2d/compose.sh new file mode 100755 index 0000000..f4e5c29 --- /dev/null +++ b/linux/7d2d/compose.sh @@ -0,0 +1,4 @@ +docker-compose pull --ignore-pull-failures +docker-compose down +docker-compose up -d + diff --git a/linux/7d2d/docker-compose.yml b/linux/7d2d/docker-compose.yml new file mode 100644 index 0000000..b9fd560 --- /dev/null +++ b/linux/7d2d/docker-compose.yml @@ -0,0 +1,14 @@ +version: '3.7' +services: + 7d2d_server: + container_name: 7d2d_ds_v1 + build: . + ports: + - "26900:26900" + - "26901:26901" + - "26902:26902" + - "8080:8080" + - "8081:8081" + restart: always + volumes: + - /docker/7test/vol:/steamcmd/vol diff --git a/linux/7d2d/run_7d2d.sh b/linux/7d2d/run_7d2d.sh new file mode 100644 index 0000000..df7575c --- /dev/null +++ b/linux/7d2d/run_7d2d.sh @@ -0,0 +1,4 @@ +#!/bin/bash +$VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ +-logfile $VALVE_STEAMCMD_FOLDER/vol/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ +-quit -batchmode -nographics -dedicated -configfile=$VALVE_STEAMCMD_FOLDER/vol/serverconfig.xml From 5a0cfa1c0c1c8a9f1ed1f957d96737d7ccdb398b Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 13 Feb 2020 14:48:10 +0300 Subject: [PATCH 05/17] fixed contaner's name --- linux/csgo/Dockerfile | 2 +- linux/csgo/Makefile | 4 ++-- linux/steamcmd/Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux/csgo/Dockerfile b/linux/csgo/Dockerfile index ba080b2..ef12e4a 100644 --- a/linux/csgo/Dockerfile +++ b/linux/csgo/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/steamcmd +FROM epicmorg/linux-server-steamcmd LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/csgo/Makefile b/linux/csgo/Makefile index 03064fa..255e72e 100644 --- a/linux/csgo/Makefile +++ b/linux/csgo/Makefile @@ -1,5 +1,5 @@ all: emgcmd emgcmd: - docker build --compress -t epicmorg/edge:csgo . -# docker push epicmorg/edge:csgo + docker build --compress -t epicmorg/linux-server-csgo . + docker push epicmorg/linux-server-csgo diff --git a/linux/steamcmd/Makefile b/linux/steamcmd/Makefile index 14577f8..7c0b7cb 100644 --- a/linux/steamcmd/Makefile +++ b/linux/steamcmd/Makefile @@ -1,5 +1,5 @@ all: emgcmd emgcmd: - docker build --compress -t epicmorg/steamcmd . - docker push epicmorg/steamcmd + docker build --compress -t epicmorg/linux-server-steamcmd . + docker push epicmorg/linux-server-steamcmd From f2a95f5153cb0178c7e3b343cdf0115e51fa5500 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 13 Feb 2020 15:06:03 +0300 Subject: [PATCH 06/17] fixed contaner's name --- linux/csgo/Dockerfile | 2 +- linux/csgo/Makefile | 4 ++-- linux/steamcmd/Makefile | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/linux/csgo/Dockerfile b/linux/csgo/Dockerfile index ef12e4a..ce58c79 100644 --- a/linux/csgo/Dockerfile +++ b/linux/csgo/Dockerfile @@ -1,4 +1,4 @@ -FROM epicmorg/linux-server-steamcmd +FROM epicmorg/linux-steamcmd LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" ARG DEBIAN_FRONTEND=noninteractive diff --git a/linux/csgo/Makefile b/linux/csgo/Makefile index 255e72e..b26fdea 100644 --- a/linux/csgo/Makefile +++ b/linux/csgo/Makefile @@ -1,5 +1,5 @@ all: emgcmd emgcmd: - docker build --compress -t epicmorg/linux-server-csgo . - docker push epicmorg/linux-server-csgo + docker build --compress -t epicmorg/linux-csgo . + docker push epicmorg/linux-csgo diff --git a/linux/steamcmd/Makefile b/linux/steamcmd/Makefile index 7c0b7cb..fdeacb8 100644 --- a/linux/steamcmd/Makefile +++ b/linux/steamcmd/Makefile @@ -1,5 +1,5 @@ all: emgcmd emgcmd: - docker build --compress -t epicmorg/linux-server-steamcmd . - docker push epicmorg/linux-server-steamcmd + docker build --compress -t epicmorg/linux-steamcmd . + docker push epicmorg/linux-steamcmd From dbbe13933b64c52a0c016e6bccb5d36f62f27bb0 Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 16:14:27 +0300 Subject: [PATCH 07/17] Update Dockerfile --- linux/steamcmd/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/steamcmd/Dockerfile b/linux/steamcmd/Dockerfile index 4cb0b83..b61360f 100644 --- a/linux/steamcmd/Dockerfile +++ b/linux/steamcmd/Dockerfile @@ -6,6 +6,7 @@ ENV LD_LIBRARY_PATH=/steamcmd/linux64 ENV VALVE_FOLDER=/valve ENV VALVE_STEAMCMD_FOLDER=${VALVE_FOLDER}/steamcmd ENV VALVE_GAME_FOLDER=${VALVE_FOLDER}/game +ENV VALVE_VOLUME_FOLDER=${VALVE_FOLDER}/volume ENV PATH="${VALVE_STEAMCMD_FOLDER}:${PATH}" WORKDIR $VALVE_STEAMCMD_FOLDER @@ -13,7 +14,7 @@ WORKDIR $VALVE_STEAMCMD_FOLDER ################################################################## # installing steamcmd ################################################################## -RUN mkdir -p $VALVE_STEAMCMD_FOLDER $VALVE_GAME_FOLDER +RUN mkdir -p ${VALVE_STEAMCMD_FOLDER} ${VALVE_GAME_FOLDER} ${VALVE_VOLUME_FOLDER} ADD http://media.steampowered.com/installer/steamcmd_linux.tar.gz $VALVE_STEAMCMD_FOLDER RUN dpkg --add-architecture i386 && \ From 89e21d5893f3c08b576b313cabc5d53adb4ae58f Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 13:31:16 +0000 Subject: [PATCH 08/17] 7d2d --- linux/7d2d/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index 39fe3da..b902c4e 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -2,7 +2,6 @@ FROM epicmorg/steamcmd WORKDIR $VALVE_GAME_FOLDER -RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit && \ -CMD $VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ - -logfile $VALVE_GAME_FOLDER/7DaysToDieServer_Data/output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ - -quit -batchmode -nographics -dedicated -configfile=$VALVE_STEAMCMD_FOLDER/vol/serverconfig.xml +RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit +COPY run_7d2d.sh $VALVE_GAME_FOLDER/run_7d2d.sh +CMD $VALVE_GAME_FOLDER/run_7d2d.sh From 0f666997a5f0e8cacb9324e572b73501c93a659b Mon Sep 17 00:00:00 2001 From: Guahos Date: Thu, 13 Feb 2020 13:41:41 +0000 Subject: [PATCH 09/17] 7d2d --- linux/7d2d/Dockerfile | 18 +++-- linux/7d2d/docker-compose.yml | 3 +- linux/7d2d/run_7d2d.sh | 4 +- linux/7d2d/vol/serverconfig.xml | 118 ++++++++++++++++++++++++++++++++ 4 files changed, 136 insertions(+), 7 deletions(-) mode change 100644 => 100755 linux/7d2d/run_7d2d.sh create mode 100755 linux/7d2d/vol/serverconfig.xml diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index b902c4e..61f6e06 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -1,7 +1,17 @@ -FROM epicmorg/steamcmd +############################################## +# 7d2d dedicated server +############################################## +FROM epicmorg/linux-steamcmd +LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" WORKDIR $VALVE_GAME_FOLDER -RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit -COPY run_7d2d.sh $VALVE_GAME_FOLDER/run_7d2d.sh -CMD $VALVE_GAME_FOLDER/run_7d2d.sh +#Install 7d2d dedicated server +RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit && \ + mkdir $VALVE_VOLUME_FOLDER + +#Copy run script and set permissions +COPY run_7d2d.sh $VALVE_GAME_FOLDER/run_7d2d.sh && chmod +x $VALVE_GAME_FOLDER/run_7d2d.sh + +#Run the server +ENTRYPOINT $VALVE_GAME_FOLDER/run_7d2d.sh diff --git a/linux/7d2d/docker-compose.yml b/linux/7d2d/docker-compose.yml index b9fd560..7711d91 100644 --- a/linux/7d2d/docker-compose.yml +++ b/linux/7d2d/docker-compose.yml @@ -11,4 +11,5 @@ services: - "8081:8081" restart: always volumes: - - /docker/7test/vol:/steamcmd/vol + - /docker/7test/vol:/valve/volume + diff --git a/linux/7d2d/run_7d2d.sh b/linux/7d2d/run_7d2d.sh old mode 100644 new mode 100755 index df7575c..ff971ad --- a/linux/7d2d/run_7d2d.sh +++ b/linux/7d2d/run_7d2d.sh @@ -1,4 +1,4 @@ #!/bin/bash $VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ --logfile $VALVE_STEAMCMD_FOLDER/vol/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ --quit -batchmode -nographics -dedicated -configfile=$VALVE_STEAMCMD_FOLDER/vol/serverconfig.xml +-logfile $VALVE_VOLUME_FOLDER/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ +-quit -batchmode -nographics -dedicated -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml diff --git a/linux/7d2d/vol/serverconfig.xml b/linux/7d2d/vol/serverconfig.xml new file mode 100755 index 0000000..7bdb38b --- /dev/null +++ b/linux/7d2d/vol/serverconfig.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 262cb26608e2ed191ee1fe0b270de7995daba717 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 13 Feb 2020 17:33:44 +0300 Subject: [PATCH 10/17] 7d2d container build fix --- linux/7d2d/Dockerfile | 17 ++++++++++------- linux/7d2d/Makefile | 5 +++++ linux/7d2d/{run_7d2d.sh => entrypoint.sh} | 2 +- linux/7d2d/{vol => }/serverconfig.xml | 0 4 files changed, 16 insertions(+), 8 deletions(-) create mode 100644 linux/7d2d/Makefile rename linux/7d2d/{run_7d2d.sh => entrypoint.sh} (80%) rename linux/7d2d/{vol => }/serverconfig.xml (100%) diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index 61f6e06..a9b1211 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -2,16 +2,19 @@ # 7d2d dedicated server ############################################## FROM epicmorg/linux-steamcmd -LABEL maintainer="EpicMorg DevTeam, developer@epicm.org" - -WORKDIR $VALVE_GAME_FOLDER +LABEL maintainer="Guah0s" #Install 7d2d dedicated server -RUN steamcmd +login anonymous +force_install_dir $VALVE_GAME_FOLDER +app_update 294420 +quit && \ - mkdir $VALVE_VOLUME_FOLDER +RUN steamcmd +login anonymous +force_install_dir ${VALVE_GAME_FOLDER} +app_update 294420 +quit #Copy run script and set permissions -COPY run_7d2d.sh $VALVE_GAME_FOLDER/run_7d2d.sh && chmod +x $VALVE_GAME_FOLDER/run_7d2d.sh +COPY serverconfig.xml ${VALVE_VOLUME_FOLDER}/serverconfig.xml +COPY entrypoint.sh /entrypoint.sh +RUN chmod +x /entrypoint.sh + +WORKDIR ${VALVE_GAME_FOLDER} + +VOLUME ${VALVE_VOLUME_FOLDER} #Run the server -ENTRYPOINT $VALVE_GAME_FOLDER/run_7d2d.sh +ENTRYPOINT ${VALVE_GAME_FOLDER}/run_7d2d.sh diff --git a/linux/7d2d/Makefile b/linux/7d2d/Makefile new file mode 100644 index 0000000..6319930 --- /dev/null +++ b/linux/7d2d/Makefile @@ -0,0 +1,5 @@ +all: emgcmd +emgcmd: + docker build --compress -t epicmorg/linux-7d2d . + docker push epicmorg/linux-7d2d + diff --git a/linux/7d2d/run_7d2d.sh b/linux/7d2d/entrypoint.sh similarity index 80% rename from linux/7d2d/run_7d2d.sh rename to linux/7d2d/entrypoint.sh index ff971ad..7a917a5 100755 --- a/linux/7d2d/run_7d2d.sh +++ b/linux/7d2d/entrypoint.sh @@ -1,4 +1,4 @@ #!/bin/bash -$VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ +$VALVE_GAME_FOLDER/startserver.sh \ -logfile $VALVE_VOLUME_FOLDER/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ -quit -batchmode -nographics -dedicated -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml diff --git a/linux/7d2d/vol/serverconfig.xml b/linux/7d2d/serverconfig.xml similarity index 100% rename from linux/7d2d/vol/serverconfig.xml rename to linux/7d2d/serverconfig.xml From 43b5e07fd4630ebd80340d095115cc9004179a11 Mon Sep 17 00:00:00 2001 From: STAM Date: Thu, 13 Feb 2020 17:57:15 +0300 Subject: [PATCH 11/17] fix of 7d2d --- linux/7d2d/Dockerfile | 3 ++- linux/7d2d/entrypoint.sh | 11 ++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index a9b1211..7030573 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -17,4 +17,5 @@ WORKDIR ${VALVE_GAME_FOLDER} VOLUME ${VALVE_VOLUME_FOLDER} #Run the server -ENTRYPOINT ${VALVE_GAME_FOLDER}/run_7d2d.sh +CMD ["/entrypoint.sh", "-fg"] +ENTRYPOINT ["/usr/bin/tini", "--"] \ No newline at end of file diff --git a/linux/7d2d/entrypoint.sh b/linux/7d2d/entrypoint.sh index 7a917a5..e39edb1 100755 --- a/linux/7d2d/entrypoint.sh +++ b/linux/7d2d/entrypoint.sh @@ -1,4 +1,9 @@ #!/bin/bash -$VALVE_GAME_FOLDER/startserver.sh \ --logfile $VALVE_VOLUME_FOLDER/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ --quit -batchmode -nographics -dedicated -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml + +echo ${VALVE_GAME_FOLDER} +echo ${VALVE_VOLUME_FOLDER} + +ls -las ${VALVE_GAME_FOLDER} +ls -las ${VALVE_VOLUME_FOLDER} + +${VALVE_GAME_FOLDER}/7DaysToDieServer.x86_64 -logfile ${VALVE_VOLUME_FOLDER}/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${VALVE_VOLUME_FOLDER}/serverconfig.xml From c4742bd405846e95c1b0244318d979052a048193 Mon Sep 17 00:00:00 2001 From: Guahos Date: Fri, 14 Feb 2020 09:56:17 +0000 Subject: [PATCH 12/17] 7d2d --- linux/7d2d/Dockerfile | 26 +- linux/7d2d/entrypoint.sh | 12 +- .../7d2d_output_log__2020-02-13__21-18-29.txt | 418 ++++++++++++++++++ linux/7d2d/vol/serverconfig.xml | 118 +++++ 4 files changed, 559 insertions(+), 15 deletions(-) create mode 100644 linux/7d2d/vol/7d2d_output_log__2020-02-13__21-18-29.txt create mode 100755 linux/7d2d/vol/serverconfig.xml diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index 7030573..c3cd58e 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -2,20 +2,32 @@ # 7d2d dedicated server ############################################## FROM epicmorg/linux-steamcmd -LABEL maintainer="Guah0s" +LABEL maintainer="Guahos, chipmunkzombie@gmail.com" + +#Vols, dirs & vars +WORKDIR ${VALVE_GAME_FOLDER} +VOLUME ${VALVE_VOLUME_FOLDER} +ARG STEAM_APP_ID=294420 +ENV LD_LIBRARY_PATH ${VALVE_STEAMCMD_FOLDER}/linux64/ + +#Expose ports +EXPOSE 26900/tcp +EXPOSE 26900/udp +EXPOSE 26901/udp +EXPOSE 26902/udp +EXPOSE 8080/tcp +EXPOSE 8081/tcp #Install 7d2d dedicated server -RUN steamcmd +login anonymous +force_install_dir ${VALVE_GAME_FOLDER} +app_update 294420 +quit +RUN steamcmd +login anonymous +force_install_dir ${VALVE_GAME_FOLDER} +app_update $STEAM_APP_ID +quit #Copy run script and set permissions COPY serverconfig.xml ${VALVE_VOLUME_FOLDER}/serverconfig.xml COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -WORKDIR ${VALVE_GAME_FOLDER} - -VOLUME ${VALVE_VOLUME_FOLDER} #Run the server -CMD ["/entrypoint.sh", "-fg"] -ENTRYPOINT ["/usr/bin/tini", "--"] \ No newline at end of file +CMD /entrypoint.sh +ENTRYPOINT ["/usr/bin/tini", "--"] + diff --git a/linux/7d2d/entrypoint.sh b/linux/7d2d/entrypoint.sh index e39edb1..6cf20b6 100755 --- a/linux/7d2d/entrypoint.sh +++ b/linux/7d2d/entrypoint.sh @@ -1,9 +1,5 @@ #!/bin/bash - -echo ${VALVE_GAME_FOLDER} -echo ${VALVE_VOLUME_FOLDER} - -ls -las ${VALVE_GAME_FOLDER} -ls -las ${VALVE_VOLUME_FOLDER} - -${VALVE_GAME_FOLDER}/7DaysToDieServer.x86_64 -logfile ${VALVE_VOLUME_FOLDER}/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt -quit -batchmode -nographics -dedicated -configfile=${VALVE_VOLUME_FOLDER}/serverconfig.xml +$VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ + -logfile $VALVE_VOLUME_FOLDER/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ + -quit -batchmode -nographics -dedicated \ + -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml diff --git a/linux/7d2d/vol/7d2d_output_log__2020-02-13__21-18-29.txt b/linux/7d2d/vol/7d2d_output_log__2020-02-13__21-18-29.txt new file mode 100644 index 0000000..f2d45f6 --- /dev/null +++ b/linux/7d2d/vol/7d2d_output_log__2020-02-13__21-18-29.txt @@ -0,0 +1,418 @@ +Found path: /valve/game/7DaysToDieServer.x86_64 +Mono path[0] = '/valve/game/7DaysToDieServer_Data/Managed' +Mono config path = '/valve/game/7DaysToDieServer_Data/MonoBleedingEdge/etc' +Preloaded 'libMagick.so' +Preloaded 'libeac_server.so' +Preloaded 'libeasyanticheat.so' +Preloaded 'libgetrss.so' +Preloaded 'libsteam_api.so' +Preloaded 'steamclient.so' +Unable to preload the following plugins: + libMouseLib.so + libeac_server.so + libeasyanticheat.so + libgetrss.so + libsteam_api.so + steamclient.so + libMouseLib.so +PlayerPrefs - Creating folder: /root/.config/unity3d/The Fun Pimps +PlayerPrefs - Creating folder: /root/.config/unity3d/The Fun Pimps/7 Days To Die - Dedicated +Initialize engine version: 2019.1.0f2 (292b93d75a2c) +Forcing GfxDevice: Null +GfxDevice: creating device client; threaded=0 +NullGfxDevice: + Version: NULL 1.0 [1.0] + Renderer: Null Device + Vendor: Unity Technologies +Begin MonoManager ReloadAssembly +- Completed reload, in 0.300 seconds +UnloadTime: 1.125985 ms +2020-02-13T21:18:32 0.149 INF Awake IsFocused: True +2020-02-13T21:18:32 0.151 INF Awake +2020-02-13T21:18:32 0.479 INF Version: Alpha 18.3 (b4) Compatibility Version: Alpha 18.3, Build: Linux 64 Bit +2020-02-13T21:18:32 0.480 INF System information: +2020-02-13T21:18:32 0.856 INF OS: Linux 3.10 Debian testing/unstable 64bit +2020-02-13T21:18:32 0.858 INF CPU: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz (cores: 4) +2020-02-13T21:18:32 0.858 INF RAM: 3788 MB +2020-02-13T21:18:32 0.858 INF GPU: Null Device (128 MB) +2020-02-13T21:18:32 0.862 INF Graphics API: NULL 1.0 [1.0] (shader level 3.0) +2020-02-13T21:18:32 0.906 INF Last played version: Alpha 18.3 +2020-02-13T21:18:32 0.907 INF Local UTC offset: 0 hours +2020-02-13T21:18:32 0.930 INF Command line arguments: /valve/game/7DaysToDieServer.x86_64 -logfile /valve/volume/7d2d_output_log__2020-02-13__21-18-29.txt -quit -batchmode -nographics -dedicated -configfile=/valve/volume/serverconfig.xml +2020-02-13T21:18:32 0.937 INF Parsing server configfile: /valve/volume/serverconfig.xml +2020-02-13T21:18:33 1.114 INF Parsing server configfile successfully completed +2020-02-13T21:18:33 1.116 INF Starting dedicated server level=Navezgane game name=My Game +2020-02-13T21:18:33 1.116 INF Maximum allowed players: 8 +2020-02-13T21:18:33 1.116 INF Game mode: GameModeSurvival +2020-02-13T21:18:33 1.116 INF Dedicated server only build +2020-02-13T21:18:33 1.118 INF Not running in Big Picture Mode, no on-screen keyboard available +2020-02-13T21:18:33 1.119 INF Starting PlayerInputManager... +2020-02-13T21:18:33 1.166 INF InControl (version 1.6.17 build 9143, native module = False, XInput = False) +2020-02-13T21:18:33 1.537 INF Starting UserProfileManager... +2020-02-13T21:18:33 1.692 INF Occlusion: Awake +2020-02-13T21:18:33 1.699 INF Texture quality is set to 3 +2020-02-13T21:18:33 1.824 INF [MODS] No mods folder found +2020-02-13T21:18:33 1.848 INF Permissions file 'serveradmin.xml' not found, creating. +2020-02-13T21:18:33 1.884 INF Command "chunkcache" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.887 INF Command "debugshot" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.887 INF Command "debugweather" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.889 INF Command "getgamepref" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.890 INF Command "getgamestat" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.890 INF Command "getoptions" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.890 INF Command "gettime" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.891 INF Command "gfx" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.892 INF Command "help" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.893 INF Command "listplayerids" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.894 INF Command "listthreads" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.895 INF Command "memcl" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:33 1.904 INF Command "settempunit" has no explicit permission level, but a default permission of 1000, adding to permission list +2020-02-13T21:18:38 6.713 INF UMA Overlay loading took 3246 ms +2020-02-13T21:18:38 6.717 INF UMA Slot loading took 4 ms +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +2020-02-13T21:18:40 8.768 INF WorldStaticData.Init() needed 2.039s +2020-02-13T21:18:40 8.788 INF Started Telnet on 8081 +2020-02-13T21:18:40 8.790 INF Awake done in 8642 ms +2020-02-13T21:18:40 8.841 INF NET: Starting server protocols +2020-02-13T21:18:40 8.843 INF [NET] Disabling protocol: SteamNetworking +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/libKernel32 +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/libKernel32.so +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/Kernel32 +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/libKernel32 +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/libKernel32.so +Fallback handler could not load library /valve/game/7DaysToDieServer_Data/Mono/libKernel32 +2020-02-13T21:18:40 8.929 INF NET: LiteNetLib server started +2020-02-13T21:18:40 8.936 INF StartGame +2020-02-13T21:18:41 9.211 INF Persistent GamePrefs saved +GamePref.AdminFileName = serveradmin.xml +GamePref.AirDropFrequency = 72 +GamePref.AirDropMarker = False +GamePref.AutopilotMode = 0 +GamePref.BedrollDeadZoneSize = 25 +GamePref.BedrollExpiryTime = 120 +GamePref.BlockDamageAI = 50 +GamePref.BlockDamageAIBM = 100 +GamePref.BlockDamagePlayer = 150 +GamePref.BloodMoonEnemyCount = 8 +GamePref.BloodMoonFrequency = 0 +GamePref.BloodMoonRange = 0 +GamePref.BloodMoonWarning = 8 +GamePref.BuildCreate = False +GamePref.ConnectToServerIP = 127.0.0.1 +GamePref.ConnectToServerPort = 26900 +GamePref.ControlPanelEnabled = False +GamePref.ControlPanelPort = 8080 +GamePref.CraftTimer = +GamePref.CreateLevelDim = 8 +GamePref.CreateLevelName = My Level +GamePref.CreativeMenuEnabled = False +GamePref.DayCount = 3 +GamePref.DayLightLength = 18 +GamePref.DayNightLength = 120 +GamePref.DebugMenuEnabled = False +GamePref.DebugMenuShowTasks = False +GamePref.DebugStopEnemiesMoving = False +GamePref.DropOnDeath = 2 +GamePref.DropOnQuit = 0 +GamePref.DynamicSpawner = +GamePref.EACEnabled = True +GamePref.EnemyDifficulty = 0 +GamePref.EnemySpawnMode = True +GamePref.FavoriteServersList = +GamePref.FragLimit = 20 +GamePref.GameDifficulty = 2 +GamePref.GameGuidClient = +GamePref.GameMode = GameModeSurvival +GamePref.GameName = My Game +GamePref.GameNameClient = My Game +GamePref.GameVersion = Alpha 18.3 +GamePref.GameWorld = Navezgane +GamePref.HideCommandExecutionLog = 0 +GamePref.JoiningOptions = True +GamePref.LandClaimCount = 1 +GamePref.LandClaimDeadZone = 30 +GamePref.LandClaimDecayMode = 0 +GamePref.LandClaimExpiryTime = 7 +GamePref.LandClaimOfflineDelay = 0 +GamePref.LandClaimOfflineDurabilityModifier = 4 +GamePref.LandClaimOnlineDurabilityModifier = 4 +GamePref.LandClaimSize = 41 +GamePref.LastGameResetRevision = 0 +GamePref.LastLoadedPrefab = +GamePref.LastLoadedPrefabSize = +GamePref.LootAbundance = 150 +GamePref.LootRespawnDays = 7 +GamePref.LootTimer = +GamePref.MatchLength = 10 +GamePref.MaxSpawnedAnimals = 50 +GamePref.MaxSpawnedZombies = 60 +GamePref.MaxUncoveredMapChunksPerPlayer = 131072 +GamePref.NoGraphicsMode = True +GamePref.OptionsAA = 1 +GamePref.OptionsAllowController = True +GamePref.OptionsAmbientVolumeLevel = 1 +GamePref.OptionsAudioOcclusion = False +GamePref.OptionsBackgroundGlobalOpacity = 0.75 +GamePref.OptionsControllerVibration = True +GamePref.OptionsDeferredLighting = True +GamePref.OptionsDisableChunkLODs = False +GamePref.OptionsDynamicMusicDailyTime = 0.3 +GamePref.OptionsDynamicMusicEnabled = False +GamePref.OptionsFieldOfView = 65 +GamePref.OptionsFieldOfViewNew = 65 +GamePref.OptionsForegroundGlobalOpacity = 1 +GamePref.OptionsGamma = 0.375 +GamePref.OptionsGfxBloom = True +GamePref.OptionsGfxDOF = False +GamePref.OptionsGfxMotionBlur = 1 +GamePref.OptionsGfxOcclusion = True +GamePref.OptionsGfxSSAO = True +GamePref.OptionsGfxSSReflections = 1 +GamePref.OptionsGfxSunShafts = True +GamePref.OptionsGraphicsQuality = 2 +GamePref.OptionsGrassDistance = 1 +GamePref.OptionsHudOpacity = 1 +GamePref.OptionsHudSize = 2 +GamePref.OptionsInterfaceSensitivity = 0.75 +GamePref.OptionsInvertMouse = False +GamePref.OptionsJournalPopup = True +GamePref.OptionsLODDistance = 0.5 +GamePref.OptionsMenuMusicVolumeLevel = 0.7 +GamePref.OptionsMicVolumeLevel = 0.75 +GamePref.OptionsMouseSensitivity = 0.5 +GamePref.OptionsMusicVolumeLevel = 0.2 +GamePref.OptionsObjectQuality = 3 +GamePref.OptionsOverallAudioVolumeLevel = 1 +GamePref.OptionsPlayChanceFrequency = 3 +GamePref.OptionsPlayChanceProbability = 0.983 +GamePref.OptionsPlayerModel = playerMale +GamePref.OptionsPlayerModelTexture = Player/Male/Player_male +GamePref.OptionsPOICulling = 1 +GamePref.OptionsReflectedShadows = False +GamePref.OptionsReflectionBounces = 0 +GamePref.OptionsReflectionCullList = Default +GamePref.OptionsReflectionFarClip = 3000 +GamePref.OptionsReflectionQuality = 1 +GamePref.OptionsReflectionRefreshMode = ViaScripting +GamePref.OptionsReflectionRefreshRate = 0 +GamePref.OptionsReflectionShadowDistance = 60 +GamePref.OptionsReflectionTimeSlicingMode = IndividualFaces +GamePref.OptionsResolution = 0 +GamePref.OptionsScreenBoundsValue = 1 +GamePref.OptionsShadowDistance = 1 +GamePref.OptionsShowCompass = True +GamePref.OptionsShowCrosshair = True +GamePref.OptionsStabSpawnBlocksOnGround = True +GamePref.OptionsStreamingMipmapsBudget = 4096 +GamePref.OptionsStreamingMipmapsEnabled = True +GamePref.OptionsTempCelsius = False +GamePref.OptionsTerrainQuality = 3 +GamePref.OptionsTextureFilter = 1 +GamePref.OptionsTextureQuality = 1 +GamePref.OptionsTreeDistance = 4 +GamePref.OptionsUMATextureQuality = 1 +GamePref.OptionsViewDistance = 6 +GamePref.OptionsVoiceChatEnabled = True +GamePref.OptionsVoiceVolumeLevel = 0.75 +GamePref.OptionsVsync = 1 +GamePref.OptionsWaterParticleLimiter = 0.5 +GamePref.OptionsWaterQuality = 1 +GamePref.OptionsZoomMouseSensitivity = 0.5 +GamePref.PartySharedKillRange = 100 +GamePref.PersistentPlayerProfiles = False +GamePref.PlayerAutologin = False +GamePref.PlayerId = +GamePref.PlayerKillingMode = 3 +GamePref.PlayerName = Player +GamePref.PlayerSafeZoneHours = 12 +GamePref.PlayerSafeZoneLevel = 10 +GamePref.PlayerToken = +GamePref.RebuildMap = False +GamePref.SaveGameFolder = /root/.local/share/7DaysToDie/Saves +GamePref.SelectionContextMode = 0 +GamePref.SelectionOperationMode = 0 +GamePref.ServerAdminSlots = 0 +GamePref.ServerAdminSlotsPermission = 0 +GamePref.ServerDescription = A 7 Days to Die server +GamePref.ServerDisabledNetworkProtocols = SteamNetworking +GamePref.ServerIP = +GamePref.ServerIsPublic = True +GamePref.ServerLoginConfirmationText = +GamePref.ServerMaxAllowedViewDistance = 12 +GamePref.ServerMaxPlayerCount = 8 +GamePref.ServerMaxWorldTransferSpeedKiBs = 512 +GamePref.ServerName = [DBZ] 7d2d dedicated server 24/7 +GamePref.ServerPort = 26900 +GamePref.ServerReservedSlots = 0 +GamePref.ServerReservedSlotsPermission = 100 +GamePref.ServerVisibility = 2 +GamePref.ServerWebsiteURL = +GamePref.ShowFriendPlayerOnMap = True +GamePref.TelnetEnabled = True +GamePref.TelnetFailedLoginLimit = 10 +GamePref.TelnetFailedLoginsBlocktime = 10 +GamePref.TelnetPort = 8081 +GamePref.TerminalWindowEnabled = True +GamePref.UNUSED_OptionsBloom = +GamePref.UNUSED_OptionsDOF = +GamePref.UNUSED_OptionsImageEffects = +GamePref.UNUSED_OptionsMotionBlur = +GamePref.UNUSED_OptionsObjectBlur = +GamePref.UNUSED_OptionsSSAO = +GamePref.UNUSED_OptionsSunShafts = +GamePref.UserDataFolder = /root/.local/share/7DaysToDie +GamePref.WorldGenSeed = asdf +GamePref.WorldGenSize = 4096 +GamePref.XPMultiplier = 150 +GamePref.ZombieBMMove = 3 +GamePref.ZombieFeralMove = 3 +GamePref.ZombieMove = 0 +GamePref.ZombieMoveNight = 3 +GamePref.ZombiePlayers = True +GameStat.AirDropFrequency = 0 +GameStat.AirDropMarker = False +GameStat.AllowedViewDistance = 12 +GameStat.AnimalCount = 0 +GameStat.AutoParty = False +GameStat.BedrollExpiryTime = 45 +GameStat.BlockDamagePlayer = 100 +GameStat.BloodMoonDay = 0 +GameStat.BloodMoonEnemyCount = 8 +GameStat.BloodMoonWarning = 8 +GameStat.ChunkStabilityEnabled = True +GameStat.CraftTimer = +GameStat.CurrentRoundIx = 0 +GameStat.DayLightLength = 18 +GameStat.DayLimitActive = False +GameStat.DayLimitThisRound = 0 +GameStat.DropOnDeath = 1 +GameStat.DropOnQuit = 0 +GameStat.EnemyCount = 0 +GameStat.EnemyDifficulty = Normal +GameStat.EnemySpawnMode = True +GameStat.FragLimitActive = False +GameStat.FragLimitThisRound = 0 +GameStat.GameDifficulty = 2 +GameStat.GameDifficultyBonus = 1 +GameStat.GameModeId = 0 +GameStat.GameState = 0 +GameStat.GlobalMessageToShow = +GameStat.IsCreativeMenuEnabled = False +GameStat.IsFlyingEnabled = False +GameStat.IsPlayerCollisionEnabled = True +GameStat.IsPlayerDamageEnabled = True +GameStat.IsResetMapOnRestart = False +GameStat.IsSaveSupplyCrates = True +GameStat.IsSpawnEnemies = True +GameStat.IsSpawnNearOtherPlayer = False +GameStat.IsTeleportEnabled = False +GameStat.IsVersionCheckDone = False +GameStat.LandClaimCount = 1 +GameStat.LandClaimDeadZone = 30 +GameStat.LandClaimDecayMode = 0 +GameStat.LandClaimExpiryTime = 3 +GameStat.LandClaimOfflineDelay = 0 +GameStat.LandClaimOfflineDurabilityModifier = 32 +GameStat.LandClaimOnlineDurabilityModifier = 32 +GameStat.LandClaimSize = 41 +GameStat.LoadScene = +GameStat.LootTimer = +GameStat.OptionsPOICulling = 0 +GameStat.PartySharedKillRange = 100 +GameStat.PlayerKillingMode = KillStrangersOnly +GameStat.ScoreDiedMultiplier = -5 +GameStat.ScorePlayerKillMultiplier = 1 +GameStat.ScoreZombieKillMultiplier = 1 +GameStat.ShowAllPlayersOnMap = False +GameStat.ShowFriendPlayerOnMap = True +GameStat.ShowSpawnWindow = False +GameStat.ShowWindow = +GameStat.ShowZombieCounter = False +GameStat.TimeLimitActive = False +GameStat.TimeLimitThisRound = 0 +GameStat.TimeOfDayIncPerSec = 20 +GameStat.XPMultiplier = 100 +GameStat.ZombieHordeMeter = False +2020-02-13T21:18:41 9.311 INF StartAsServer +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +2020-02-13T21:19:03 31.765 INF Block IDs with mapping +2020-02-13T21:19:03 31.766 INF BlockIDs from Mapping +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +2020-02-13T21:19:10 38.195 INF Item IDs with mapping +2020-02-13T21:19:10 38.196 INF ItemIDs from Mapping +WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Pass '' has no vertex shader +WARNING: Shader Unsupported: 'Hidden/Dof/DX11Dof' - Setting to default shader. +HDR Render Texture not supported, disabling HDR on reflection probe. + +(Filename: ./Runtime/Camera/ReflectionProbes.cpp Line: 269) + +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'FORWARD_DELTA' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - Pass 'ShadowCaster' has no vertex shader +WARNING: Shader Unsupported: 'Autodesk Interactive' - All passes removed +2020-02-13T21:19:29 57.481 INF createWorld: Navezgane, My Game, GameModeSurvival +2020-02-13T21:19:29 57.489 INF Occlusion: Disabled +2020-02-13T21:19:29 57.549 INF Started thread ChunkRegeneration +2020-02-13T21:19:29 57.550 INF Started thread ChunkCalc +2020-02-13T21:19:29 57.709 INF World.Load: Navezgane +2020-02-13T21:19:29 57.718 INF Loading base world file header... +2020-02-13T21:19:29 57.735 INF Loaded world file from different version: 'Alpha 18 (b35)' +2020-02-13T21:19:29 57.749 INF BloodMoon SetDay: day 0, last day 0, freq 0, range 0 +2020-02-13T21:19:29 57.765 INF BloodMoon SetDay: day 0, last day 0, freq 0, range 0 +2020-02-13T21:19:29 57.766 INF BloodMoon SetDay: day 0, last day 0, freq 0, range 0 +2020-02-13T21:19:40 68.862 INF Started thread GenerateChunks +2020-02-13T21:19:41 69.499 INF Loading dtm raw file took 543ms +2020-02-13T21:19:41 69.779 INF Biomes image size w= 3072, h = 3072 +2020-02-13T21:19:42 70.168 INF Loading and creating biomes took 668ms +2020-02-13T21:19:47 75.442 INF Loading and creating shader control textures took 5274ms +2020-02-13T21:19:48 76.410 INF Loading and parsing of generator took 967ms +2020-02-13T21:19:48 76.470 INF Started thread SaveChunks /root/.local/share/7DaysToDie/Saves/Navezgane/My Game/Region +2020-02-13T21:19:51 79.517 INF [DECO] read 0/0 +2020-02-13T21:19:52 80.436 INF AstarManager Init +2020-02-13T21:19:53 81.544 INF Weather Packages Created FROM BIOMES +2020-02-13T21:19:53 81.544 INF createWorld() done +2020-02-13T21:19:53 81.546 INF Calculating world hashes +2020-02-13T21:19:53 81.552 INF Loading players.xml +2020-02-13T21:19:53 81.630 INF Loaded player +2020-02-13T21:19:53 81.854 INF Setting for 'DayNightLength' does not match the default (server will go to the modded category): current = 120, default = 60 +2020-02-13T21:19:53 81.854 INF Setting for 'DropOnDeath' does not match the default (server will go to the modded category): current = 2, default = 1 +2020-02-13T21:19:53 81.854 INF Setting for 'BlockDamagePlayer' does not match the default (server will go to the modded category): current = 150, default = 100 +2020-02-13T21:19:53 81.854 INF Setting for 'BlockDamageAI' does not match the default (server will go to the modded category): current = 50, default = 100 +2020-02-13T21:19:53 81.854 INF Setting for 'LootRespawnDays' does not match the default (server will go to the modded category): current = 7, default = 30 +2020-02-13T21:19:53 81.854 INF Setting for 'LootAbundance' does not match the default (server will go to the modded category): current = 150, default = 100 +2020-02-13T21:19:53 81.854 INF Setting for 'XPMultiplier' does not match the default (server will go to the modded category): current = 150, default = 100 +2020-02-13T21:19:53 81.855 INF [EAC] Starting EAC server +2020-02-13T21:19:53 81.895 INF [EAC] Log: [EAC Server] [Info] [SetLogCallback] Procedure: 0x41193ec0 LogLevel: Verb. +2020-02-13T21:19:53 81.895 INF [EAC] Log: [EAC Server] [Info] [Initialize] ServerName: '7 Days To Die' RegisterTimeout: 60. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 1h EventName: 'game_round_start' Parameters: { map_name (string) }. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 2h EventName: 'game_round_end' Parameters: { winning_team_id (uint32) }. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 3h EventName: 'player_spawn' Parameters: { player (client), team_id (uint32), character_id (uint32) }. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 4h EventName: 'player_despawn' Parameters: { player (client), player_death (uint32), player_killer (client) }. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 5h EventName: 'player_revive' Parameters: { player_revived (client), player_reviving (client) }. +2020-02-13T21:19:53 81.901 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 6h EventName: 'player_tick' Parameters: { player (client), player_position (vec3f), player_viewrotation (quat), player_health (uint32), player_tickflags (uint32) }. +2020-02-13T21:19:53 81.902 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 7h EventName: 'player_useweapon' Parameters: { player (client), player_position (vec3f), player_viewrotation (quat), player_fov (uint32), weapon_id (uint32), melee_attack (uint32) }. +2020-02-13T21:19:53 81.902 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 8h EventName: 'player_takedamage' Parameters: { player_victim (client), player_victim_position (vec3f), player_victim_viewrotation (quat), player_attacker (client), player_attacker_position (vec3f), player_attacker_viewrotation (quat), player_attacker_fov (uint32), weapon_id (uint32), hitbone_id (uint32), damage_taken (uint32), damage_flags (uint32) }. +2020-02-13T21:19:53 81.902 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: 9h EventName: 'player_downed' Parameters: { player_victim (client), player_attacker (client) }. +2020-02-13T21:19:53 81.902 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: Ah EventName: 'player_death' Parameters: { victim (client), victim_shots_fired (uint64), victim_shots_landed (uint64), attacker (client), attacker_shots_fired (uint64), attacker_shots_landed (uint64) }. +2020-02-13T21:19:53 81.902 INF [EAC] Log: [EAC Server] [Info] [Cerberus] [RegisterEvent] EventID: Bh EventName: 'game_round_start_v2' Parameters: { map_name (string), mode_name (string), round_time_seconds (uint32), start_frame_number (uint64), start_delta_seconds (uint32) }. +2020-02-13T21:19:54 82.036 INF StartGame done +2020-02-13T21:19:54 82.971 INF [Steamworks.NET] GameServer.Init successful +2020-02-13T21:19:54 82.980 INF [Steamworks.NET] Making server public +2020-02-13T21:19:56 84.339 INF [Steamworks.NET] GameServer.LogOn successful, SteamID=90132659258572808, public IP=91.122.46.55 +2020-02-13T21:20:04 92.271 INF Calculating hashes took 10724 ms (world size 683 MiB) diff --git a/linux/7d2d/vol/serverconfig.xml b/linux/7d2d/vol/serverconfig.xml new file mode 100755 index 0000000..7bdb38b --- /dev/null +++ b/linux/7d2d/vol/serverconfig.xml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From ddf4da3ab614aee548b2fcbc3052914666995ed0 Mon Sep 17 00:00:00 2001 From: Guahos Date: Mon, 17 Feb 2020 13:03:42 +0000 Subject: [PATCH 13/17] 7d2d_ds_fix --- linux/7d2d/Dockerfile | 12 +- linux/7d2d/docker-compose.yml | 9 +- linux/7d2d/entrypoint.sh | 7 +- linux/7d2d/serverconfig.xml | 191 ++++++++++++++++---------------- linux/7d2d/vol/serverconfig.xml | 191 ++++++++++++++++---------------- 5 files changed, 207 insertions(+), 203 deletions(-) diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index c3cd58e..4252e7e 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -4,17 +4,22 @@ FROM epicmorg/linux-steamcmd LABEL maintainer="Guahos, chipmunkzombie@gmail.com" -#Vols, dirs & vars +#Steam App ID +ARG STEAM_APP_ID=294420 + +#Vols & dirs WORKDIR ${VALVE_GAME_FOLDER} VOLUME ${VALVE_VOLUME_FOLDER} -ARG STEAM_APP_ID=294420 ENV LD_LIBRARY_PATH ${VALVE_STEAMCMD_FOLDER}/linux64/ +RUN mkdir ${VALVE_VOLUME_FOLDER}/worldsave && chmod 777 ${VALVE_VOLUME_FOLDER}/worldsave && \ + mkdir ${VALVE_VOLUME_FOLDER}/worlddata && chmod 777 ${VALVE_VOLUME_FOLDER}/worlddata #Expose ports EXPOSE 26900/tcp EXPOSE 26900/udp EXPOSE 26901/udp EXPOSE 26902/udp +EXPOSE 26903/udp EXPOSE 8080/tcp EXPOSE 8081/tcp @@ -28,6 +33,5 @@ RUN chmod +x /entrypoint.sh #Run the server -CMD /entrypoint.sh -ENTRYPOINT ["/usr/bin/tini", "--"] +CMD ["/bin/bash", "/entrypoint.sh"] diff --git a/linux/7d2d/docker-compose.yml b/linux/7d2d/docker-compose.yml index 7711d91..6fc45c7 100644 --- a/linux/7d2d/docker-compose.yml +++ b/linux/7d2d/docker-compose.yml @@ -4,12 +4,9 @@ services: container_name: 7d2d_ds_v1 build: . ports: - - "26900:26900" - - "26901:26901" - - "26902:26902" - - "8080:8080" - - "8081:8081" + - "26900-26903:26900-26903" + - "8080-8081:8080-8081" restart: always volumes: - - /docker/7test/vol:/valve/volume + - ./vol:/valve/volume diff --git a/linux/7d2d/entrypoint.sh b/linux/7d2d/entrypoint.sh index 6cf20b6..4ab6fa8 100755 --- a/linux/7d2d/entrypoint.sh +++ b/linux/7d2d/entrypoint.sh @@ -1,5 +1,6 @@ #!/bin/bash $VALVE_GAME_FOLDER/7DaysToDieServer.x86_64 \ - -logfile $VALVE_VOLUME_FOLDER/7d2d_output_log__`date +%Y-%m-%d__%H-%M-%S`.txt \ - -quit -batchmode -nographics -dedicated \ - -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml + -logfile $VALVE_VOLUME_FOLDER/7d2d_output_`date +%Y-%m-%d_%H-%M`.log \ + -quit -batchmode -nographics -dedicated \ + -configfile=$VALVE_VOLUME_FOLDER/serverconfig.xml + diff --git a/linux/7d2d/serverconfig.xml b/linux/7d2d/serverconfig.xml index 7bdb38b..e4af61b 100755 --- a/linux/7d2d/serverconfig.xml +++ b/linux/7d2d/serverconfig.xml @@ -1,118 +1,119 @@ - + - - - - - - + + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - + + + + - - - - - + + + + + - + - - - - + + + + - - - - - + + + + + - - - - - - - - + - - - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + + + + + - - - - - - - - - - - + + + + - - - - - + + + + + + + + + + + - - - + + + + + - - - - - - - - + + + + + + + + + + + + - + + diff --git a/linux/7d2d/vol/serverconfig.xml b/linux/7d2d/vol/serverconfig.xml index 7bdb38b..e4af61b 100755 --- a/linux/7d2d/vol/serverconfig.xml +++ b/linux/7d2d/vol/serverconfig.xml @@ -1,118 +1,119 @@ - + - - - - - - + + + + + + - - - - - + + + + + - - - - - - + + + + + + - - - - + + + + - - - - - + + + + + - + - - - - + + + + - - - - - + + + + + - - - - - - - - + - - - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - - - + + + + + + + + - - - - - - - - - - - + + + + - - - - - + + + + + + + + + + + - - - + + + + + - - - - - - - - + + + + + + + + + + + + - + + From c835ff62ae01ad935d6c2f96f1961e5f78f760b0 Mon Sep 17 00:00:00 2001 From: Guahos Date: Mon, 17 Feb 2020 17:05:09 +0000 Subject: [PATCH 14/17] another fix --- linux/7d2d/Dockerfile | 12 +++++++----- linux/7d2d/Makefile | 14 ++++++++++---- linux/7d2d/docker-compose.yml | 2 +- linux/7d2d/vol/serverconfig.xml | 12 ++++++------ 4 files changed, 24 insertions(+), 16 deletions(-) diff --git a/linux/7d2d/Dockerfile b/linux/7d2d/Dockerfile index 4252e7e..bbf8b9a 100644 --- a/linux/7d2d/Dockerfile +++ b/linux/7d2d/Dockerfile @@ -7,12 +7,14 @@ LABEL maintainer="Guahos, chipmunkzombie@gmail.com" #Steam App ID ARG STEAM_APP_ID=294420 +#Environmental variables +ENV LD_LIBRARY_PATH ${VALVE_STEAMCMD_FOLDER}/linux64/ + #Vols & dirs WORKDIR ${VALVE_GAME_FOLDER} VOLUME ${VALVE_VOLUME_FOLDER} -ENV LD_LIBRARY_PATH ${VALVE_STEAMCMD_FOLDER}/linux64/ -RUN mkdir ${VALVE_VOLUME_FOLDER}/worldsave && chmod 777 ${VALVE_VOLUME_FOLDER}/worldsave && \ - mkdir ${VALVE_VOLUME_FOLDER}/worlddata && chmod 777 ${VALVE_VOLUME_FOLDER}/worlddata +RUN mkdir ${VALVE_VOLUME_FOLDER}/worldsave && mkdir ${VALVE_VOLUME_FOLDER}/worlddata && \ + chmod 777 ${VALVE_VOLUME_FOLDER}/world* #Expose ports EXPOSE 26900/tcp @@ -24,9 +26,9 @@ EXPOSE 8080/tcp EXPOSE 8081/tcp #Install 7d2d dedicated server -RUN steamcmd +login anonymous +force_install_dir ${VALVE_GAME_FOLDER} +app_update $STEAM_APP_ID +quit +RUN steamcmd +login anonymous +force_install_dir ${VALVE_GAME_FOLDER} +app_update ${STEAM_APP_ID} +quit -#Copy run script and set permissions +#Copy entrypoint script and set permissions COPY serverconfig.xml ${VALVE_VOLUME_FOLDER}/serverconfig.xml COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh diff --git a/linux/7d2d/Makefile b/linux/7d2d/Makefile index 6319930..eeda9ee 100644 --- a/linux/7d2d/Makefile +++ b/linux/7d2d/Makefile @@ -1,5 +1,11 @@ -all: emgcmd -emgcmd: - docker build --compress -t epicmorg/linux-7d2d . - docker push epicmorg/linux-7d2d +build: + docker build --tag "7d2d_ds:latest" . +run: + docker run -itd --name "7d2d-docker" -p 26900-26903:26900-26903/udp -p 26900:26900/tcp -p 8080-8081:8080-8081 -v 7d2dvol:/valve/volume 7d2d_ds:latest + +start: + docker start 7d2d-docker + +stop: + docker stop 7d2d-docker diff --git a/linux/7d2d/docker-compose.yml b/linux/7d2d/docker-compose.yml index 6fc45c7..4797ef3 100644 --- a/linux/7d2d/docker-compose.yml +++ b/linux/7d2d/docker-compose.yml @@ -8,5 +8,5 @@ services: - "8080-8081:8080-8081" restart: always volumes: - - ./vol:/valve/volume + - /docker/7test/vol:/valve/volume diff --git a/linux/7d2d/vol/serverconfig.xml b/linux/7d2d/vol/serverconfig.xml index e4af61b..9535ddc 100755 --- a/linux/7d2d/vol/serverconfig.xml +++ b/linux/7d2d/vol/serverconfig.xml @@ -3,17 +3,17 @@ - + - - - - + + + + @@ -54,7 +54,7 @@ - + From da1d1d4d93d4a9855654a02e7d62185666bb04be Mon Sep 17 00:00:00 2001 From: Guahos Date: Tue, 18 Feb 2020 09:59:18 +0000 Subject: [PATCH 15/17] 7d2d makefile fixes --- linux/7d2d/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/linux/7d2d/Makefile b/linux/7d2d/Makefile index eeda9ee..e860489 100644 --- a/linux/7d2d/Makefile +++ b/linux/7d2d/Makefile @@ -2,10 +2,14 @@ build: docker build --tag "7d2d_ds:latest" . run: - docker run -itd --name "7d2d-docker" -p 26900-26903:26900-26903/udp -p 26900:26900/tcp -p 8080-8081:8080-8081 -v 7d2dvol:/valve/volume 7d2d_ds:latest + docker run -itd --name "7d2d-docker" -p 26900-26903:26900-26903/udp -p 26900:26900/tcp -p 8080-8081:8080-8081 -v vol:/valve/volume 7d2d_ds:latest start: - docker start 7d2d-docker + docker start 7d2d_ds stop: - docker stop 7d2d-docker + docker stop 7d2d_ds + +log: + tail -f `find /var/lib/docker/volumes/7d2dvol/_data -name *log -printf "%T+\t%p\n" | sort` + From b779c6472b15d47ef32207f206e43b2c343494dd Mon Sep 17 00:00:00 2001 From: Guahos Date: Tue, 18 Feb 2020 13:02:17 +0000 Subject: [PATCH 16/17] makefile tweak --- linux/7d2d/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/linux/7d2d/Makefile b/linux/7d2d/Makefile index e860489..1ee997d 100644 --- a/linux/7d2d/Makefile +++ b/linux/7d2d/Makefile @@ -2,7 +2,7 @@ build: docker build --tag "7d2d_ds:latest" . run: - docker run -itd --name "7d2d-docker" -p 26900-26903:26900-26903/udp -p 26900:26900/tcp -p 8080-8081:8080-8081 -v vol:/valve/volume 7d2d_ds:latest + docker run -itd --name "7d2d-docker" -p 26900-26903:26900-26903/udp -p 26900:26900/tcp -p 8080-8081:8080-8081 -v 7d2dvol:/valve/volume 7d2d_ds:latest start: docker start 7d2d_ds @@ -10,6 +10,10 @@ start: stop: docker stop 7d2d_ds -log: +showlog: tail -f `find /var/lib/docker/volumes/7d2dvol/_data -name *log -printf "%T+\t%p\n" | sort` + +showvol: + ls -laht /var/lib/docker/volumes/7d2dvol/_data + From 3e4865108b01f9de9eb2e17ce2c9498ce3dff244 Mon Sep 17 00:00:00 2001 From: STAM Date: Tue, 3 Mar 2020 18:23:34 +0300 Subject: [PATCH 17/17] readmefix --- GAMES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GAMES.md b/GAMES.md index 6126862..b6b9f8a 100644 --- a/GAMES.md +++ b/GAMES.md @@ -2,7 +2,7 @@ ### :pencil: Legend -| ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/steam.png) | Requered | Not Requered | ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/os-win.png) ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/os-nix.png) | Supported | Not Supported | +| ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/steam.png) | Required | Not Required | ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/os-win.png) ![](https://raw.githubusercontent.com/EpicMorg/docker-games-scripts/master/.github/os-nix.png) | Supported | Not Supported | |---|---|---|---|---|---| | Steam account |:heavy_check_mark:|:x: | Server type |:heavy_check_mark:|:x: |