Commit Graph

1015 Commits

Author SHA1 Message Date
Florian Kinder
a871fe689d update to 0.16.10 2017-12-30 10:23:29 +00:00
Florian Kinder
739ed46afe update to 0.16.9 2017-12-29 21:43:33 +00:00
Florian Kinder
dfa067e2e9 update to 0.16.8 2017-12-29 18:28:32 +00:00
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
Jake Merdich
2095404c2a
Document the required permissions change in 1.16+
Make sure users of 1.16 don't get stopped by weird permissions errors created by #91 because factorio is no longer run as root in the container.
2017-12-21 17:54:38 -07:00
David Andersen
dff6b849f8
Merge pull request #98 from dtandersen/update-0.16.7
Updated to version 0.16.7
2017-12-21 11:49:45 -08:00
Florian Kinder
5c616483f6 update to 0.16.7 2017-12-21 19:03:29 +00:00
Florian Kinder
856066ccf1
Merge pull request #96 from dtandersen/update-0.16.6
Updated to version 0.16.6
2017-12-18 20:14:24 +01:00
Florian Kinder
ce039016e0 update to 0.16.6 2017-12-18 18:48:30 +00:00
David Andersen
6f20f17472
Merge pull request #95 from dtandersen/update-0.16.5
Updated to version 0.16.5
2017-12-17 15:39:05 -08:00
Florian Kinder
44a28d5c70 update to 0.16.5 2017-12-17 20:03:30 +00:00
David Andersen
f9b2d6bb9f
Merge pull request #94 from dtandersen/update-0.16.4
Updated to version 0.16.4
2017-12-16 10:09:56 -08:00
Florian Kinder
bb06a73144 update to 0.16.4 2017-12-16 11:58:29 +00:00
Florian Kinder
3eed964b32
Merge pull request #93 from dtandersen/update-0.16.3
Updated to version 0.16.3
2017-12-16 03:42:23 +01: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
David Andersen
6f4f179276 no need to set user 2017-12-14 07:10:27 -08:00
David Andersen
ebd6da4b97
Merge pull request #92 from dtandersen/update-0.16.2
Updated to version 0.16.2
2017-12-14 06:47:36 -08:00
Florian Kinder
8ee7c360c5 update to 0.16.2 2017-12-14 12:18:31 +00:00
David Andersen
5f7f1f145c 0.16.1 2017-12-13 13:19:19 -08:00
David Andersen
6b58cb1909 0.16.1 2017-12-13 21:17:41 +00:00
David Andersen
d6d039d4a6 0.15.40 is stable 2017-12-13 10:59:16 -08:00
David Andersen
02d2c449d3 add 0.16 to readme 2017-12-13 10:53:22 -08: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
David Andersen
e2e7cc7798 remove chmod +x because file is already executable 2017-12-12 10:14:49 -08:00
David Andersen
487d345480
Merge pull request #89 from luliu/patch-1
Allowing non-root user to run factorio
2017-12-12 10:14:03 -08:00
rullie
7a276adb3c
Allowing non-root user to run factorio
When starting the container with `docker run -d -u $(id -u factorio):$(id -g factorio) ...`, permission is denied upon trying to create `/opt/factorio/.lock` file.
This permission tweak will allow caller to pass desired user from host to container such that the permissions are retained correctly when games are saved to the mount.

Also, it just feels wrong to run factorio as root, container or not.  :)
2017-12-06 15:46:45 -05:00
David Andersen
7a5f3471d6
Merge pull request #86 from tsuckow/fix-permissions
Fix permissions in #85
2017-11-29 20:28:34 -08:00
Thomas Suckow
eac273e2d6 Fix permissions in #85 2017-11-29 23:05:43 -05:00
David Andersen
768eaac7b2
Update README.md
0.15.37 is still stable
2017-11-29 14:44:06 -08:00
David Andersen
67a0420f06
Merge pull request #80 from schmic/master
Allow to define RCON port as well
2017-11-29 14:39:21 -08:00
David Andersen
b2248d1e8c
Merge branch 'master' into master 2017-11-29 14:38:50 -08:00
David Andersen
60a124f22c
Merge branch 'master' into master 2017-11-29 14:38:08 -08:00
David Andersen
76ee77b674
Merge pull request #84 from dtandersen/update-0.15.40
Updated to version 0.15.40
2017-11-29 14:33:46 -08:00
Florian Kinder
a6f0b66f9b update to 0.15.40 2017-11-29 21:48:31 +00:00
David Andersen
596eec12b6
Merge pull request #83 from dtandersen/update-0.15.39
Updated to version 0.15.39
2017-11-27 14:09:54 -08:00
David Andersen
e30e313a55
Merge branch 'master' into update-0.15.39 2017-11-27 14:09:28 -08:00
David Andersen
9528901b95
Merge pull request #81 from dtandersen/update-0.15.38
Updated to version 0.15.38
2017-11-27 14:07:22 -08:00
Florian Kinder
16c0f35c97 update to 0.15.39 2017-11-27 19:53:35 +00:00
Florian Kinder
623cd6ac87 update to 0.15.38 2017-11-24 12:23:33 +00:00
Michael Scherer
ca3a66ca2f Allow to define RCON port as well 2017-11-12 13:49:58 +01:00
David Andersen
bc74c61fc0 Merge pull request #77 from dtandersen/update-0.15.37
Updated to version 0.15.37
2017-10-17 08:31:30 -07:00
Florian Kinder
893124cf43 update to 0.15.37 2017-10-17 14:26:02 +00:00
David Andersen
92130e3b34 Merge pull request #76 from dtandersen/update-0.15.36
Updated to version 0.15.36
2017-10-10 09:43:46 -07:00
Florian Kinder
1194fde627 update to 0.15.36 2017-10-10 15:26:00 +00:00
Florian Kinder
6ae4c0d569 Merge pull request #74 from dtandersen/update-0.15.35
Updated to version 0.15.35
2017-09-30 15:54:39 +02:00
Florian Kinder
11d8626ccd update to 0.15.35 2017-09-28 13:35:50 +00:00