Factorio headless server
| Branch | Size | Version |
|---|---|---|
| latest | ||
| stable | ||
| experimental |
docker run -d --name factorio -p 34197:34197/udp rfvgyhn/factorio
/savesmount for save files/modsmount for mods/configmount for configuration files
docker run -d --name factorio \
-p 34197:34197/udp \
-v /host/path/saves:/saves \
-v /host/path/mods:/mods \
-v /host/path/config:/config \
rfvgyhn/factorio
The following environment variables are available. The values show the defaults used if the var isn't specified.
FACTORIO_SAVE_NAME=meeseeksthe name of the save file in/savesFACTORIO_PORT=network port to useFACTORIO_BIND_ADDRESS=IP address (and optionally port) to bind to (address[:port])FACTORIO_SERVER_ID=Path where server ID will be stored or read fromFACTORIO_SCENARIO=[MOD/]NAME (e.g.base/wave-defensewill load the wave-defense scenario from the base mod)
docker run -d --name factorio \
-p 34197:34197/udp \
-v /host/path/saves:/saves \
-v /host/path/mods:/mods \
-v /host/path/config:/config \
-e FACTORIO_SAVE_NAME=rick \
rfvgyhn/factorio
You may specify the following files by mounting the /config volume:
server-settings.jsonmap-gen-settings.jsonmap-settings.jsonserver-whitelist.jsonserver-banlist.json
Note that since version 0.14.12, several of the options that were provided
by environment variables have moved to server-settings.json.
The RCON password is randomly generated and stored in /config/rconpw
The latest tag will always follow the latest factorio server release
(including experimental releases).
The stable tag will always follow the latest stable factorio server release.
Each version will also have its own tag.