You've already forked factorio-server-manager
mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-07-13 01:10:25 +02:00
fixed fsm not finding factorio
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
FROM frolvlad/alpine-glibc
|
FROM frolvlad/alpine-glibc
|
||||||
|
|
||||||
ENV FACTORIO_VERSION=latest \
|
ENV FACTORIO_VERSION=latest \
|
||||||
MANAGER_VERSION=0.8.3 \
|
MANAGER_VERSION=0.8.2 \
|
||||||
ADMIN_USER=admin \
|
ADMIN_USER=admin \
|
||||||
ADMIN_PASS=factorio \
|
ADMIN_PASS=factorio \
|
||||||
RCON_PASS="" \
|
RCON_PASS="" \
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
FROM frolvlad/alpine-glibc
|
FROM frolvlad/alpine-glibc
|
||||||
|
|
||||||
ENV FACTORIO_VERSION=latest \
|
ENV FACTORIO_VERSION=latest \
|
||||||
MANAGER_VERSION=0.8.2 \
|
|
||||||
ADMIN_USER=admin \
|
ADMIN_USER=admin \
|
||||||
ADMIN_PASS=factorio \
|
ADMIN_PASS=factorio \
|
||||||
RCON_PASS="" \
|
RCON_PASS="" \
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
version: "3"
|
version: "3"
|
||||||
services:
|
services:
|
||||||
factorio-server-manager:
|
factorio-server-manager:
|
||||||
image: "ofsm/ofsm:latest"
|
image: "ofsm/ofsm:develop"
|
||||||
container_name: "factorio-server-manager"
|
container_name: "factorio-server-manager"
|
||||||
restart: "unless-stopped"
|
restart: "unless-stopped"
|
||||||
environment:
|
environment:
|
||||||
|
@ -36,9 +36,9 @@ random_pass() {
|
|||||||
|
|
||||||
install_game() {
|
install_game() {
|
||||||
curl --location "https://www.factorio.com/get-download/${FACTORIO_VERSION}/headless/linux64" \
|
curl --location "https://www.factorio.com/get-download/${FACTORIO_VERSION}/headless/linux64" \
|
||||||
--output /tmp/factorio_${FACTORIO_VERSION}.tar.xz \
|
--output /tmp/factorio_${FACTORIO_VERSION}.tar.xz
|
||||||
&& tar -xf /tmp/factorio_${FACTORIO_VERSION}.tar.xz \
|
tar -xf /tmp/factorio_${FACTORIO_VERSION}.tar.xz
|
||||||
&& rm /tmp/factorio_${FACTORIO_VERSION}.tar.xz
|
rm /tmp/factorio_${FACTORIO_VERSION}.tar.xz
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -f /opt/fsm-data/conf.json ]; then
|
if [ ! -f /opt/fsm-data/conf.json ]; then
|
||||||
@ -47,5 +47,5 @@ fi
|
|||||||
|
|
||||||
install_game
|
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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user