From dc89065e68481c39c0a7ab37c5eeb3e724c62ec9 Mon Sep 17 00:00:00 2001 From: David Andersen Date: Wed, 17 May 2017 17:12:33 +0000 Subject: [PATCH 1/3] save the server id --- 0.15/docker-entrypoint.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/0.15/docker-entrypoint.sh b/0.15/docker-entrypoint.sh index b5802ad..abf0fa1 100755 --- a/0.15/docker-entrypoint.sh +++ b/0.15/docker-entrypoint.sh @@ -32,5 +32,7 @@ exec /opt/factorio/bin/x64/factorio \ --start-server-load-latest \ --server-settings $CONFIG/server-settings.json \ --server-whitelist $CONFIG/server-whitelist.json \ + --server-banlist $CONFIG/server-banlist.json \ --rcon-port 27015 \ - --rcon-password "$(cat $CONFIG/rconpw)" + --rcon-password "$(cat $CONFIG/rconpw)" \ + --server-id /factorio/config/server-id.json From 0fbcfbf857cd58842982b3658f11629a555d2013 Mon Sep 17 00:00:00 2001 From: David Andersen Date: Wed, 17 May 2017 17:14:01 +0000 Subject: [PATCH 2/3] added docker-compose.yml --- 0.15/docker-compose.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 0.15/docker-compose.yml diff --git a/0.15/docker-compose.yml b/0.15/docker-compose.yml new file mode 100644 index 0000000..48f155e --- /dev/null +++ b/0.15/docker-compose.yml @@ -0,0 +1,8 @@ +version: '2' +services: + factorio: + build: . + ports: + - "34197:34197" + volumes: + - /tmp/factorio:/factorio From 82a15c8f346b7fdc1ee4a877ed74f44a308776e1 Mon Sep 17 00:00:00 2001 From: David Andersen Date: Wed, 17 May 2017 17:15:05 +0000 Subject: [PATCH 3/3] removed shell scripts debugging server --- 0.15/build.sh | 1 - 0.15/clean.sh | 1 - 0.15/run.sh | 5 ----- 0.15/start.sh | 5 ----- 4 files changed, 12 deletions(-) delete mode 100755 0.15/build.sh delete mode 100755 0.15/clean.sh delete mode 100755 0.15/run.sh delete mode 100755 0.15/start.sh diff --git a/0.15/build.sh b/0.15/build.sh deleted file mode 100755 index 50b2cf9..0000000 --- a/0.15/build.sh +++ /dev/null @@ -1 +0,0 @@ -sudo docker build --no-cache -t factorio . diff --git a/0.15/clean.sh b/0.15/clean.sh deleted file mode 100755 index 08dc515..0000000 --- a/0.15/clean.sh +++ /dev/null @@ -1 +0,0 @@ -sudo rm -rf /tmp/factorio diff --git a/0.15/run.sh b/0.15/run.sh deleted file mode 100755 index 601920a..0000000 --- a/0.15/run.sh +++ /dev/null @@ -1,5 +0,0 @@ -sudo docker run --rm -it \ - -v /tmp/factorio:/factorio \ - --name factorio \ - factorio "$@" -find /tmp/factorio -type f diff --git a/0.15/start.sh b/0.15/start.sh deleted file mode 100755 index 0e923c0..0000000 --- a/0.15/start.sh +++ /dev/null @@ -1,5 +0,0 @@ -sudo docker run -d -p 34197:34197/udp -p 27015:27015/tcp \ - -v factorio:/factorio \ - --name factorio \ - --restart=always \ - factorio