Factorio server (based on fedora 30 x64 image)
1.1K
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
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
Use docker-compose up -d to start the server.
Content type
Image
Digest
Size
116.9 MB
Last updated
almost 7 years ago
docker pull moestaverne/factorio