20 lines
425 B
YAML
20 lines
425 B
YAML
|
|
||
|
version: '2'
|
||
|
services:
|
||
|
factorio:
|
||
|
image: factoriotools/factorio:latest
|
||
|
container_name: factorio
|
||
|
restart: unless-stopped
|
||
|
ports:
|
||
|
- "34197:34197/udp"
|
||
|
- "27015:27015/tcp"
|
||
|
volumes:
|
||
|
- ./config:/factorio
|
||
|
environment:
|
||
|
- PUID=xxxx
|
||
|
- PGID=xxxx
|
||
|
- UPDATE_MODS_ON_START=true
|
||
|
- USERNAME=xxxxxx
|
||
|
- TOKEN=xxxxxxxx
|
||
|
- LOAD_LATEST_SAVE=true
|
||
|
- SAVE_NAME="xxxxxx"
|