factorio-docker/docker/docker-compose.yml
Adam Zahumenský 5aef1b9f6f
Add an IP bind param to the entrypoint (#447)
* Add an IP bind param to the entrypoint

* Add an example usage to readme

* Rename to BIND
2022-09-05 11:01:06 +02:00

24 lines
621 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.61
- SHA256=68e4ac8d33b195701c15a23e3d8e65676ef8be25f140657678122f211c60b659
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
# - ADDR=::1