mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-13 14:02:48 +01:00
4ab4c889f4
* Add support for --preset options provided by vanilla and popular mods * Add support for --preset in scenario.sh * Replace SU_EXEC with EXEC
25 lines
660 B
YAML
25 lines
660 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.107
|
|
- SHA256=5cf3821464c447d342b8859e7af710c33066b909ee7a4fc3efa92f9dbe0dba81
|
|
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
|