-
Notifications
You must be signed in to change notification settings - Fork 143
Installation and Usage
Mitch Roote edited this page Dec 27, 2020
·
7 revisions
-
Pull the Docker container from Docker Hub using the pull command
docker pull ofsm/ofsm:latest
-
Now you can start the container by running:
docker run --name ofsm -d -p 80:80 -p 34197:34197/udp ofsm/ofsm:latest
- Download the latest release
- Download the Factorio Standalone server and install to a known directory.
- Run the server binary file, use the --dir flag to point the management server to your Factorio installation. If you are using the steam installation, point FSM to the steam directory.
./factorio-server-manager --dir /home/user/.factorio
./factorio-server-manager --dir /home/user/.steam/steam/steamapps/common/Factorio
- Visit localhost:8080 in your web browser.
- Download the latest release
- Download the Factorio Standalone server and install to a known directory.
- Run the server binary file via cmd or Powershell, use the --dir flag to point the management server to your Factorio installation.
.\factorio-server-manager --dir C:/Users/username/Factorio
- Visit localhost:8080 in your web browser.
Run the UI server and specify the directory of your Factorio server installation and the interface to run the HTTP server on. Edit the conf.json file with your desired credentials for authentication.
Usage of ./factorio-server-manager:
-bin string
Location of Factorio Server binary file (default "bin/x64/factorio")
-conf string
Specify location of Factorio Server Manager config file. (default "./conf.json")
-config string
Specify location of Factorio config.ini file (default "config/config.ini")
-dir string
Specify location of Factorio directory. (default "./")
-host string
Specify IP for webserver to listen on. (default "0.0.0.0")
-max-upload int
Maximum filesize for uploaded files (default 20MB). (default 20971520)
-port string
Specify a port for the server. (default "8080")
-glibc-custom string
Specify if custom glibc is used (default false) [true/false]
-glibc-loc string
Path to the glibc ld.so file (default "/opt/glibc-2.18/lib/ld-2.18.so")
-glibc-lib-loc
Path to the glibc lib folder (default "/opt/glibc-2.18/lib")
-autostart
Autostarts Factorio Server when FSM is starting. Default false [true/false]
(If no IP and/or port provided at startup, it will bind the factorio server to all interfaces
and set the server port to the default 34197, always loads latest save)
Example:
./factorio-server-manager --dir /home/user/.factorio --host 10.0.0.1
Custom glibc example:
./factorio-server-manager --dir /home/user/.factorio --host 10.0.0.1 --glibc-custom true --glibc-loc /opt/glibc-2.18/lib/ld-2.18.so --glibc-lib-loc /opt/glibc-2.18/lib