mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-14 04:35:58 +02:00
fixed fsm not finding factorio
This commit is contained in:
parent
87889c93dd
commit
1a33e7e15c
@ -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="" \
|
||||
|
@ -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="" \
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user