forked from zopanix/docker_factorio_server
-
Notifications
You must be signed in to change notification settings - Fork 271
Compose example is awful #560
Copy link
Copy link
Open
Labels
Description
Please update your compose example. It's silly to even need to manually chown an opt directory as it's against the fundamentals of linux - (It should be in Opt, but it seems like the "normal" thing to do to avoid user confusion is throw it in the working directory, EG where the docker-compose.yml exists) just path it to a local directory and you can completely skip that step.
This is in reference to the documented compose file here : https://github.com/factoriotools/factorio-docker/blob/master/docker/docker-compose.yml
version: '2'
services:
factorio:
image: factoriotools/factorio:latest
restart: always
container_name: factorio-server
ports:
- 34197:34197/udp
- 27015:27015/tcp
volumes:
- "./data:/factorio"
environment:
- PUID=1000
- PGID=1000
- USERNAME=FactorioProfileName
- TOKEN=FactorioProfileToken
- PRESET=Default
- DLC_SPACE_AGE=trueReactions are currently unavailable