/docker_factorio_server

the latest factorio server

Primary LanguageShellMIT LicenseMIT

Factorio

the latest Factorio Server in docker

See factorio's site

Current Version

0.14.5

How to use ?

docker run -d \
  -v [PATH]:/opt/factorio/saves \
  -p [PORT]:34197/udp \
  xue222han/docker_factorio_server
  • Where [PATH] is a folder where you'll put your saves, if there already is a save in it with the string "save", that one will be taken by default, otherwize, a new one will be made.
  • Where [PORT] is the port number you choose, if you're going to launch it on your local machine, don't use the port 34197, take another one at random.

Environment variables

You can pass environment variables with -e

  • FACTORIO_AUTOSAVE_INTERVAL=2
  • FACTORIO_AUTOSAVE_SLOTS=3
  • FACTORIO_ALLOW_COMMANDS=false
  • FACTORIO_NO_AUTO_PAUSE=false
  • FACTORIO_MODE=normal

Server settings:

  • SERVER_NAME="factorio server"

  • SERVER_DESCRIPTION=""

  • SERVER_VISIBILITY="hidden" if you set SERVER_VISIBILITY="public",make sure that you also set SERVER_USERNAME and SERVER_PASSWORD which are your factorio.com login credentials.

  • SERVER_GAME_PASSWORD=""

  • SERVER_VERIFY_IDENTITY="true"

  • SERVER_USERNAME=""(Required if SERVER_VISIBILITY="public")

  • SERVER_PASSWORD=""(Required if SERVER_VISIBILITY="public")