Sign inSign up

moestaverne/factorio

By moestaverne

•Updated almost 7 years ago

Factorio server (based on fedora 30 x64 image)

Image
0

1.1K

moestaverne/factorio repository overview

⁠Setup

⁠docker-compose.yml

version: '3'

services:
  factorio:
    image: moestaverne/factorio:latest
    stdin_open: true
    container_name: factorio
    restart: unless-stopped
    ports:
      - "27015:27015/tcp"
      - "34197:34197/udp"
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./saves:/factorio/saves
      - ./mods:/factorio/mods
      - ./scenarios:/factorio/scenarios
      - ./config:/factorio/config
    environment:
      - TZ=UTC

⁠First start

When you start the container the first time, folders get created, including config and saves and a new map is generated.

Next step is to create a server config:

  • ./config/server-settings.json (you can copy that from ./config/server-settings.example.json)

(Optionally) you can also replace ./saves/save.zip with an own save game

(Optionally) you can add mods to the ./mods folder

Now you are ready

⁠Start

Use docker-compose up -d to start the server.

Tag summary

Content type

Image

Digest

Size

116.9 MB

Last updated

almost 7 years ago

docker pull moestaverne/factorio