'factorio/docker-compose.yml' toevoegen

This commit is contained in:
Mathijs Lermer 2020-10-28 14:13:29 +01:00
parent 727acfbab7
commit 6139eb235f
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
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"