Factorio headless server
Branch | Size | Version |
---|---|---|
latest | ||
stable | ||
experimental |
docker run -d --name factorio -p 34197:34197/udp rfvgyhn/factorio
/saves
mount for save files/mods
mount for mods/config
mount 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=meeseeks
the name of the save file in/saves
FACTORIO_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-defense
will 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.json
map-gen-settings.json
map-settings.json
server-whitelist.json
server-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.