wihan/dev

writing / post

Running a Factorio server with Factorio Server Manager and Docker

2026-08-30factorio · docker · compose2 min

The Factorio server at factorio.wihan.dev is one container and one compose file. Factorio Server Manager runs inside it: a web UI that downloads the headless server, manages saves and mods, and starts and stops the game process. Server administration is a browser tab.

Credit where it is due: Factorio Server Manager is Tricade’s work, carrying on the OpenFactorioServerManager project. Everything pleasant about running this server - the mod portal login, the save management, the graceful shutdown - is their code. Star the repo if you run a factory.

services:
  manager:
    image: ghcr.io/tricade/factorio-server-manager:0.17.5
    restart: unless-stopped
    stop_grace_period: 3m
    environment:
      FACTORIO_VERSION: stable
      FSM_COOKIE_SECURE: "true"
    ports:
      - "34197:34197/udp"
    volumes:
      - fsm-data:/opt/fsm-data
      - factorio-data:/opt/factorio

The details that took a moment to get right:

Version pinning matters twice here. The manager image is pinned to an exact release tag, and the Factorio version is pinned by the UI after install, because the server version must match the players’ clients. stable is only the first-install default.

Mods, save uploads, and restarts all happen in the UI afterwards. The compose file changes only when the manager itself gets an upgrade, which is exactly how often I want to think about it.