forked from zopanix/docker_factorio_server
-
Notifications
You must be signed in to change notification settings - Fork 253
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=true
BroderickCarlin, kumpelblase, xrh0905, De-Clan-C, wisniax and 1 more
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
DrPhillOS commentedon Jan 21, 2025
You don't even need to put it /opt, just map the volume to a folder somewhere else.
Here's mine: