Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compose example is awful #560

Open
Lizardbutt opened this issue Dec 28, 2024 · 0 comments
Open

Compose example is awful #560

Lizardbutt opened this issue Dec 28, 2024 · 0 comments

Comments

@Lizardbutt
Copy link

Lizardbutt commented Dec 28, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants