fixed fsm not finding factorio

This commit is contained in:
knoxfighter 2020-12-09 17:46:21 +01:00
parent 87889c93dd
commit 1a33e7e15c
4 changed files with 6 additions and 7 deletions

View File

@ -2,7 +2,7 @@
FROM frolvlad/alpine-glibc
ENV FACTORIO_VERSION=latest \
MANAGER_VERSION=0.8.3 \
MANAGER_VERSION=0.8.2 \
ADMIN_USER=admin \
ADMIN_PASS=factorio \
RCON_PASS="" \

View File

@ -2,7 +2,6 @@
FROM frolvlad/alpine-glibc
ENV FACTORIO_VERSION=latest \
MANAGER_VERSION=0.8.2 \
ADMIN_USER=admin \
ADMIN_PASS=factorio \
RCON_PASS="" \

View File

@ -1,7 +1,7 @@
version: "3"
services:
factorio-server-manager:
image: "ofsm/ofsm:latest"
image: "ofsm/ofsm:develop"
container_name: "factorio-server-manager"
restart: "unless-stopped"
environment:

View File

@ -36,9 +36,9 @@ random_pass() {
install_game() {
curl --location "https://www.factorio.com/get-download/${FACTORIO_VERSION}/headless/linux64" \
--output /tmp/factorio_${FACTORIO_VERSION}.tar.xz \
&& tar -xf /tmp/factorio_${FACTORIO_VERSION}.tar.xz \
&& rm /tmp/factorio_${FACTORIO_VERSION}.tar.xz
--output /tmp/factorio_${FACTORIO_VERSION}.tar.xz
tar -xf /tmp/factorio_${FACTORIO_VERSION}.tar.xz
rm /tmp/factorio_${FACTORIO_VERSION}.tar.xz
}
if [ ! -f /opt/fsm-data/conf.json ]; then
@ -47,5 +47,5 @@ fi
install_game
cd /opt/fsm && ./factorio-server-manager -conf /opt/fsm-data/conf.json -dir /opt/factorio -port 80
cd /opt/fsm && ./factorio-server-manager --conf /opt/fsm-data/conf.json --dir /opt/factorio -port 80