2020-08-14 11:34:16 +02:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
factorio:
|
2021-09-09 17:13:45 +02:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
2023-08-06 18:55:55 +02:00
|
|
|
# Check buildinfo.json for supported versions and SHAs
|
|
|
|
# https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
|
2024-04-18 16:16:47 +02:00
|
|
|
- VERSION=1.1.107
|
|
|
|
- SHA256=5cf3821464c447d342b8859e7af710c33066b909ee7a4fc3efa92f9dbe0dba81
|
2020-08-14 11:34:16 +02:00
|
|
|
ports:
|
2023-08-06 18:55:55 +02:00
|
|
|
- "34197:34197/udp"
|
|
|
|
- "27015:27015/tcp"
|
2020-08-14 11:34:16 +02:00
|
|
|
volumes:
|
2023-08-06 18:55:55 +02:00
|
|
|
- /opt/factorio:/factorio
|
2020-08-14 11:34:16 +02:00
|
|
|
# environment:
|
|
|
|
# - PUID=1000
|
|
|
|
# - PGID=1000
|
|
|
|
# - UPDATE_MODS_ON_START=true
|
|
|
|
# - USERNAME=FactorioUsername
|
|
|
|
# - TOKEN=FactorioToken
|
2020-09-17 18:10:59 +02:00
|
|
|
# - PORT=34198
|
2022-09-05 11:01:06 +02:00
|
|
|
# - ADDR=::1
|