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-10-21 23:20:17 +02:00
|
|
|
- VERSION=2.0.8
|
|
|
|
- SHA256=d9594c4d552a3e4f965b188a4774da8c8b010fc23ddb0efc63b1d94818dde1ca
|
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
|
2024-06-12 12:47:42 +02:00
|
|
|
# - PRESET=deathworld
|
2022-09-05 11:01:06 +02:00
|
|
|
# - ADDR=::1
|