Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Meßmer
7113c03076
Fix volume permissions for docker-compose
When using named containers in docker compose, it creates them with root and the factorio docker container fails to start because it doesn't have write permissions. Reproduce by using the following docker-compose file:

    version: '3.2'
    services:
      server:
        image: dtandersen/factorio:0.16.7
        volumes:
        - logs:/var/log
        - data:/factorio
        ports:
        - "34197:34197/udp"
        - "27015:27015/tcp"
    volumes:
      logs:
      data:

With this proposed change, the /factorio folder is created *before* it is made a volume. This causes docker to correctly preserve the permissions, the docker-compose file above works now.

This is related to https://github.com/dtandersen/docker_factorio_server/issues/91 and maybe also makes https://github.com/dtandersen/docker_factorio_server/pull/99 obsolete.
2017-12-28 12:37:23 +00:00
Florian Kinder
5c616483f6 update to 0.16.7 2017-12-21 19:03:29 +00:00
Florian Kinder
ce039016e0 update to 0.16.6 2017-12-18 18:48:30 +00:00
Florian Kinder
44a28d5c70 update to 0.16.5 2017-12-17 20:03:30 +00:00
Florian Kinder
bb06a73144 update to 0.16.4 2017-12-16 11:58:29 +00:00
Florian Kinder
0eb64bc190 update to 0.16.3 2017-12-15 15:08:32 +00:00
David Andersen
9834ca2842 don't need to make all of /opt/factorio writeable 2017-12-14 15:16:25 +00:00
David Andersen
6b2307635e give up on scenario entry point 2017-12-14 07:13:45 -08:00
Florian Kinder
8ee7c360c5 update to 0.16.2 2017-12-14 12:18:31 +00:00
David Andersen
6b58cb1909 0.16.1 2017-12-13 21:17:41 +00:00
David Andersen
8091c3a9f9 0.16.0 2017-12-13 18:43:01 +00:00
David Andersen
cb5bc74e4b run as factorio user 2017-12-13 18:33:51 +00:00
David Andersen
1ce5c5db7e added 0.16 2017-12-13 08:54:30 -08:00