Go to file
Knut Ahlers 4a36e6d84f
Factorio Server 1.0.0
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2020-08-14 12:05:14 +02:00
config.ini Initialize path config 2016-12-15 05:04:54 +01:00
Dockerfile Factorio Server 1.0.0 2020-08-14 12:05:14 +02:00
LICENSE Initial commit 2016-12-15 01:37:13 +01:00
Makefile Add ACImage builder 2016-12-19 14:45:55 +01:00
map-gen-settings.json Initial version 2016-12-15 01:39:59 +01:00
README.md Initial version 2016-12-15 01:39:59 +01:00
server-settings.json Initial version 2016-12-15 01:39:59 +01:00
start.sh Update image build, upgrade to 0.16.51 2018-06-19 13:14:45 +02:00

Luzifer / factorio

This repository contains a Docker setup for a headless Factorio server.

Usage

You need to have a directory to mount into your container which will afterwards contain your map, saves and also the configuration. In this example I will use /data/factorio as storage directory.

  1. At first you maybe want to initialize the configuration files:
    docker run --rm -v /data/factorio:/data quay.io/luzifer/factorio init
  2. Afterwards you can edit the two settings files create in /data/factorio and adjust your settings.
  3. If you are okay with your map-gen-settings.json you can generate a map file:
    docker run --rm -v /data/factorio:/data quay.io/luzifer/factorio create
  4. After the map has been generated (and for every future start) you can start the server:
    docker run --rm -v /data/factorio:/data -e 34197:34197 quay.io/luzifer/factorio start

The server will expose the port 34197/udp for the game. The above command already exposes that port to the host machine.