2020-08-14 10:34:16 +01:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
factorio:
|
2021-09-09 11:13:45 -04:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
args:
|
2023-08-06 12:55:55 -04:00
|
|
|
# Check buildinfo.json for supported versions and SHAs
|
|
|
|
# https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
|
2024-11-25 08:30:43 +00:00
|
|
|
- VERSION=2.0.21
|
|
|
|
- SHA256=1d6d2785006d6a8d9d5fdcdaa7097a189ec35ba95f3521025dc4e046f7a1398e
|
2020-08-14 10:34:16 +01:00
|
|
|
ports:
|
2023-08-06 12:55:55 -04:00
|
|
|
- "34197:34197/udp"
|
|
|
|
- "27015:27015/tcp"
|
2020-08-14 10:34:16 +01:00
|
|
|
volumes:
|
2023-08-06 12:55:55 -04:00
|
|
|
- /opt/factorio:/factorio
|
2024-11-08 08:27:04 +00:00
|
|
|
# environment:
|
|
|
|
# - PUID=1000
|
|
|
|
# - PGID=1000
|
|
|
|
# - UPDATE_MODS_ON_START=true
|
|
|
|
# - USERNAME=FactorioUsername
|
|
|
|
# - TOKEN=FactorioToken
|
|
|
|
# - PORT=34198
|
|
|
|
# - PRESET=deathworld
|
|
|
|
# - ADDR=::1
|
2024-11-08 00:13:38 +01:00
|
|
|
# # Uncomment the following line to enable the use of the host's network stack,
|
|
|
|
# # which may be necessary for some setups like NAS or when using some proxy service like firewall rules.
|
|
|
|
# extra_hosts:
|
2024-11-08 08:27:04 +00:00
|
|
|
# - "host.docker.internal:host-gateway"
|