factorio-docker/docker/docker-compose.yml

24 lines
632 B
YAML

version: '2'
services:
factorio:
build:
context: .
args:
# Check buildinfo.json for supported versions and SHAs
# https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
- VERSION=1.1.94
- SHA256=96289caf52d1c7b15eb95be54104c69d41752b345c6fdc6b984a7cdb06425a2a
ports:
- "34197:34197/udp"
- "27015:27015/tcp"
volumes:
- /opt/factorio:/factorio
# environment:
# - PUID=1000
# - PGID=1000
# - UPDATE_MODS_ON_START=true
# - USERNAME=FactorioUsername
# - TOKEN=FactorioToken
# - PORT=34198
# - ADDR=::1