mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-16 05:03:06 +01:00
29 lines
968 B
YAML
29 lines
968 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=2.0.28
|
|
- SHA256=ea9937b6adc7a18e17a4e1e64992ec389407497b36e68280bb14fcdd4c884dd3
|
|
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
|
|
# - PRESET=deathworld
|
|
# - ADDR=::1
|
|
# # 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:
|
|
# - "host.docker.internal:host-gateway"
|