Compare commits

..

367 Commits

Author SHA1 Message Date
06a76e4156 Merge pull request #102 from dtandersen/update-0.16.8
Updated to version 0.16.8
2017-12-30 16:49:56 -08:00
107b902191 Merge branch 'master' into update-0.16.8 2017-12-30 16:49:21 -08:00
9e4888fe8a Merge pull request #105 from dtandersen/update-0.16.11
Updated to version 0.16.11
2017-12-31 00:36:09 +01:00
aa5e51680f Merge branch 'master' into update-0.16.11 2017-12-31 00:35:51 +01:00
590adff3a0 Merge pull request #104 from dtandersen/update-0.16.10
Updated to version 0.16.10
2017-12-30 23:34:29 +01:00
c60794de39 update to 0.16.11 2017-12-30 20:08:29 +00:00
a871fe689d update to 0.16.10 2017-12-30 10:23:29 +00:00
dfa067e2e9 update to 0.16.8 2017-12-29 18:28:32 +00:00
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
5c616483f6 update to 0.16.7 2017-12-21 19:03:29 +00:00
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
ce039016e0 update to 0.16.6 2017-12-18 18:48:30 +00:00
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
44a28d5c70 update to 0.16.5 2017-12-17 20:03:30 +00:00
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
bb06a73144 update to 0.16.4 2017-12-16 11:58:29 +00:00
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
0eb64bc190 update to 0.16.3 2017-12-15 15:08:32 +00:00
9834ca2842 don't need to make all of /opt/factorio writeable 2017-12-14 15:16:25 +00:00
6b2307635e give up on scenario entry point 2017-12-14 07:13:45 -08:00
6f4f179276 no need to set user 2017-12-14 07:10:27 -08:00
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
8ee7c360c5 update to 0.16.2 2017-12-14 12:18:31 +00:00
5f7f1f145c 0.16.1 2017-12-13 13:19:19 -08:00
6b58cb1909 0.16.1 2017-12-13 21:17:41 +00:00
d6d039d4a6 0.15.40 is stable 2017-12-13 10:59:16 -08:00
02d2c449d3 add 0.16 to readme 2017-12-13 10:53:22 -08:00
8091c3a9f9 0.16.0 2017-12-13 18:43:01 +00:00
cb5bc74e4b run as factorio user 2017-12-13 18:33:51 +00:00
1ce5c5db7e added 0.16 2017-12-13 08:54:30 -08:00
e2e7cc7798 remove chmod +x because file is already executable 2017-12-12 10:14:49 -08:00
487d345480 Merge pull request #89 from luliu/patch-1
Allowing non-root user to run factorio
2017-12-12 10:14:03 -08:00
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
7a5f3471d6 Merge pull request #86 from tsuckow/fix-permissions
Fix permissions in #85
2017-11-29 20:28:34 -08:00
eac273e2d6 Fix permissions in #85 2017-11-29 23:05:43 -05:00
768eaac7b2 Update README.md
0.15.37 is still stable
2017-11-29 14:44:06 -08:00
67a0420f06 Merge pull request #80 from schmic/master
Allow to define RCON port as well
2017-11-29 14:39:21 -08:00
b2248d1e8c Merge branch 'master' into master 2017-11-29 14:38:50 -08:00
60a124f22c Merge branch 'master' into master 2017-11-29 14:38:08 -08:00
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
a6f0b66f9b update to 0.15.40 2017-11-29 21:48:31 +00:00
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
e30e313a55 Merge branch 'master' into update-0.15.39 2017-11-27 14:09:28 -08:00
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
16c0f35c97 update to 0.15.39 2017-11-27 19:53:35 +00:00
623cd6ac87 update to 0.15.38 2017-11-24 12:23:33 +00:00
ca3a66ca2f Allow to define RCON port as well 2017-11-12 13:49:58 +01:00
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
893124cf43 update to 0.15.37 2017-10-17 14:26:02 +00:00
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
1194fde627 update to 0.15.36 2017-10-10 15:26:00 +00:00
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
11d8626ccd update to 0.15.35 2017-09-28 13:35:50 +00:00
d1d5e405cb Update README.md 2017-08-23 12:11:54 -07:00
1c1e374346 Merge pull request #72 from dtandersen/update-0.15.34
Updated to version 0.15.34
2017-08-23 12:10:42 -07:00
046a632860 update to 0.15.34 2017-08-23 12:57:11 +00:00
d80ae622fd Update README.md 2017-08-09 10:52:10 -07:00
07786290c4 Merge pull request #69 from dtandersen/update-0.15.33
Updated to version 0.15.33
2017-08-09 10:07:41 -07:00
1e5f88ffd9 update to 0.15.33 2017-08-09 16:12:14 +00:00
672101f0f7 0.15.31 is still stable 2017-08-02 09:34:10 -07:00
7b9d0f514e Merge pull request #67 from dtandersen/update-0.15.32
Updated to version 0.15.32
2017-08-02 09:30:12 -07:00
7e40c62ff6 update to 0.15.32 2017-08-02 11:57:11 +00:00
37fbaa38cf 0.15.31 is stable 2017-07-26 16:37:13 -07:00
b52a39fe03 Merge pull request #65 from dtandersen/update-0.15.31
Updated to version 0.15.31
2017-07-25 12:11:07 -07:00
4528be2297 update to 0.15.31 2017-07-25 17:07:12 +00:00
36bb311baa Merge pull request #64 from dtandersen/update-0.15.30
Updated to version 0.15.30
2017-07-14 18:21:30 +01:00
78289a5930 update to 0.15.30 2017-07-14 16:27:19 +00:00
250d5e464d Merge pull request #63 from dtandersen/update-0.15.29
Updated to version 0.15.29
2017-07-13 21:11:42 +01:00
70e61be5b6 update to 0.15.29 2017-07-13 19:42:12 +00:00
e935200821 Merge pull request #62 from dtandersen/update-0.15.28
Updated to version 0.15.28
2017-07-06 10:32:07 -07:00
add31ebe53 update to 0.15.28 2017-07-06 16:42:10 +00:00
8e20e6696b Merge pull request #61 from dtandersen/update-0.15.27
Updated to version 0.15.27
2017-07-03 11:01:28 -07:00
126669ca7a update to 0.15.27 2017-07-03 17:17:11 +00:00
67aaa41cd8 Merge pull request #59 from dtandersen/update-0.15.26
Updated to version 0.15.26
2017-07-01 08:32:40 +02:00
a61f05709e update to 0.15.26 2017-06-30 19:42:11 +00:00
0b5c4e144a Merge pull request #58 from dtandersen/update-0.15.25
Updated to version 0.15.25
2017-06-29 10:42:35 -07:00
95c45b7a39 update to 0.15.25 2017-06-29 17:22:13 +00:00
5dbb82debe Merge pull request #57 from dtandersen/update-0.15.24
Updated to version 0.15.24
2017-06-29 09:59:41 -07:00
d85de90142 update to 0.15.24 2017-06-29 10:27:12 +00:00
216ab0a7d5 Merge pull request #54 from dtandersen/update-0.15.23
Updated to version 0.15.23
2017-06-22 10:45:04 -07:00
e9c698cbc8 update to 0.15.23 2017-06-22 16:47:12 +00:00
8d0eef4e2c Merge pull request #52 from dtandersen/update-0.15.22
Updated to version 0.15.22
2017-06-22 14:10:48 +02:00
110a598ca8 update to 0.15.22 2017-06-21 16:37:12 +00:00
2f0ce132f2 Merge pull request #50 from dtandersen/update-0.15.21
Updated to version 0.15.21
2017-06-15 09:14:28 -07:00
96eff95f47 update to 0.15.21 2017-06-15 10:27:11 +00:00
6c5282b855 Merge pull request #48 from dtandersen/update-0.15.20
Updated to version 0.15.20
2017-06-14 10:16:50 -07:00
d195fdcdfc update to 0.15.20 2017-06-14 16:07:12 +00:00
d9a5fac17c Merge pull request #43 from Entroper/map-settings
Add map-settings.json config file
2017-06-08 08:36:51 -07:00
4ec6f41635 Merge pull request #44 from dtandersen/update-0.15.19
Updated to version 0.15.19
2017-06-08 08:35:16 -07:00
eb0a7410eb update to 0.15.19 2017-06-08 11:52:11 +00:00
01aeb3b1aa Add map-settings.json to README 2017-06-06 14:22:31 -04:00
91f28e34a2 add map-settings.json config file 2017-06-06 13:20:10 -04:00
7f9f640eff Merge pull request #41 from dtandersen/update-0.15.18
Updated to version 0.15.18
2017-06-02 01:58:24 -07:00
2d99b36f7e update to 0.15.18 2017-06-02 08:47:04 +00:00
5e71044728 updated to alpine 3.6 2017-06-01 18:31:53 +00:00
52dd896f3c 0.15.17 2017-06-01 11:25:14 -07:00
3a5ce81d2e Merge pull request #38 from Mettwurscht/patch-2
Update to 0.15.17
2017-06-01 11:24:24 -07:00
ad707ee2ad Update to 0.15.17 2017-06-01 15:39:01 +02:00
61fd28bb36 0.15.16 2017-05-27 12:12:43 -07:00
892a684f98 Merge pull request #36 from Mettwurscht/patch-1
Update to 0.15.16
2017-05-27 12:11:06 -07:00
a0cedba383 Update to 0.15.16 2017-05-27 20:07:37 +02:00
893c1b6214 Merge pull request #35 from Dianoga/0.15.15
Update to 0.15.15
2017-05-26 13:20:22 -07:00
0d79b49393 Update README.md 2017-05-26 15:09:27 -05:00
9d3f88ed6b Update to 0.15.15 2017-05-26 15:08:42 -05:00
a0338cc7b3 0.15.14 2017-05-26 10:50:27 -07:00
ed1fe2ba82 Merge pull request #34 from psykzz/patch-2
Update to 0.15.14
2017-05-26 10:47:40 -07:00
46769a042d Update to 0.15.14 2017-05-26 17:39:24 +01:00
0a5893578f Merge pull request #31 from dtandersen/update-v0.15.13-experimental
Update to v0.15.13-experimental
2017-05-23 14:47:17 -04:00
59b35f3ac0 Updated to v0.15.13-experimental 2017-05-23 18:45:33 +00:00
8138589baf Merge pull request #29 from dtandersen/update-v0.15.12-experimental
Update to v0.15.12-experimental
2017-05-18 08:56:56 -07:00
2b1115c19a Merge pull request #26 from dtandersen/server-id
server-id / banlist / docker-compose
2017-05-18 08:55:49 -07:00
b6276d7b51 Updated to v0.15.12-experimental 2017-05-18 15:45:34 +00:00
82a15c8f34 removed shell scripts debugging server 2017-05-17 17:15:05 +00:00
0fbcfbf857 added docker-compose.yml 2017-05-17 17:14:01 +00:00
dc89065e68 save the server id 2017-05-17 17:12:33 +00:00
bd5a44dce5 Merge pull request #24 from bkuhl/update-v0.15.11-experimental
Update to v0.15.11-experimental
2017-05-16 12:15:18 -04:00
26584556a3 Merge pull request #23 from tsugliani/patch-5
Update to 0.15.11
2017-05-16 12:14:57 -04:00
3a70062289 Merge branch 'master' into update-v0.15.11-experimental 2017-05-16 11:12:16 -04:00
c3fe70f783 Updated to v0.15.11-experimental 2017-05-16 15:10:55 +00:00
7a5732bbcd Update to 0.15.11 2017-05-16 15:56:00 +02:00
a496ba060b Merge pull request #22 from bkuhl/update-v0.15.10-experimental
Update to v0.15.10-experimental
2017-05-10 11:28:52 -07:00
7e78a4236f Merge branch 'master' into update-v0.15.10-experimental 2017-05-10 13:52:48 -04:00
0c5ff73adb Updated to v0.15.10-experimental 2017-05-10 13:52:13 -04:00
9ad1889aeb 0.15.9 2017-05-06 23:59:30 -07:00
2a23a3fe91 0.15.9 2017-05-05 14:54:07 -07:00
cfcbb035a7 Merge pull request #20 from warmwaffles/master
Bump to version 0.15.9
2017-05-05 14:53:06 -07:00
10f8b0acb6 Bump to version 0.15.9 2017-05-05 16:13:09 -05:00
c7309c1e5c 0.15.8 2017-05-05 11:05:51 -07:00
c845acc09f 0.15 is still 0.15.6 2017-05-05 09:26:22 -07:00
8bfe8b0261 0.15.7 2017-05-05 06:58:19 -07:00
2c7cfc6c65 Merge pull request #18 from tsugliani/patch-3
Update to 0.15.7
2017-05-05 06:57:37 -07:00
1250578039 Update to 0.15.7 2017-05-05 15:54:30 +02:00
97165cfdde 0.15.6 2017-05-02 08:22:17 -07:00
c6f144aff4 Merge pull request #13 from tsugliani/patch-2
Update to 0.15.6
2017-05-02 08:21:52 -07:00
481246c449 Update to 0.15.6 2017-05-02 16:38:07 +02:00
97cdaa825a Merge branch 'master' of github.com:dtandersen/docker_factorio_server 2017-04-30 08:37:53 -07:00
b36c299358 Merge pull request #11 from tsugliani/patch-1
Update to 0.15.5
2017-04-30 08:37:38 -07:00
4e09965476 0.15.5 2017-04-30 08:37:28 -07:00
5340267672 Update to 0.15.5 2017-04-30 13:44:44 +02:00
061d0c6c37 Merge pull request #10 from pshendry/master
Update to 0.15.4
2017-04-29 14:46:33 -07:00
84af48c346 Update to 0.15.4 2017-04-29 14:19:36 -07:00
2ca5f1368c Merge pull request #7 from XanderXAJ/0.15.3
Update 0.15.x branch to 0.15.3
2017-04-27 13:28:42 -07:00
bc0ef1b51e Update 0.15.x branch to 0.15.3 2017-04-27 20:44:14 +01:00
b2fbd707f8 location of server-whitelist.json 2017-04-27 08:32:07 -07:00
a88071d1aa minor text changes 2017-04-26 13:09:29 -07:00
a1f590270b added whitelisting and contributors section to readme 2017-04-26 13:07:40 -07:00
b0b5775365 Merge pull request #6 from gnomus/patch-1
Add possibility to use a whitelist
2017-04-26 12:59:35 -07:00
c988684348 added fancy badge 2017-04-26 12:38:31 -07:00
75e98e0543 Update docker-entrypoint.sh 2017-04-26 21:37:54 +02:00
0bc55d51a8 minor text changes 2017-04-26 12:31:08 -07:00
c50665c37f doc update 2017-04-26 12:29:43 -07:00
81c9d50e7a Add possibility to use a whitelist 2017-04-26 13:29:47 +02:00
c3631942e8 a tidbit about the console 2017-04-25 15:26:32 -07:00
8e072e8c24 0.15.2 2017-04-25 14:53:37 -07:00
c260815680 0.15.1 2017-04-24 20:32:36 +00:00
fd4680704f save some space by uninstalling curl 2017-04-24 20:19:30 +00:00
b46eefee58 documented PORT 2017-04-24 12:45:04 -07:00
76a76765bb document -dev tag 2017-04-24 11:31:04 -07:00
d6331587b4 updated PORT docs 2017-04-24 11:29:42 -07:00
dfbd6baff6 documented PORT env variable 2017-04-24 11:24:19 -07:00
4872cf89f6 Updated to Alpine 3.5 2017-04-24 17:38:14 +00:00
99c0355d12 0.15.0!!! 2017-04-24 17:33:21 +00:00
7b351c473a 0.14.23 2017-04-24 17:17:15 +00:00
b839d7d339 use --port $PORT to start server 2017-04-24 09:43:32 -07:00
40974755b6 fixed markdown in readme 2017-04-24 09:02:07 -07:00
548f9b27d0 preparation for 0.15 2017-04-24 09:00:45 -07:00
be99942271 Merge pull request #2 from jaredledvina/feature/update-v-0.14.22
Bump version to 0.14.22
2017-02-04 20:05:18 -08:00
f19f731662 Bump version to 0.14.22 2017-02-03 18:26:26 -05:00
eea4c90fa5 0.14.21 is stable 2016-11-30 10:35:58 -08:00
ce161daf33 minor text changes 2016-11-24 19:47:53 -08:00
a3d7c55f68 minor text changes 2016-11-24 19:46:21 -08:00
736dbea3b3 minor text changes 2016-11-24 19:45:05 -08:00
aeb549b3b5 0.14.21 2016-11-24 19:32:02 -08:00
2906b59721 0.14.21 2016-11-24 19:28:57 -08:00
abdce572de promoted 0.14.20 to stable 2016-11-17 10:12:34 -08:00
ca7fc9ff13 0.14.20 2016-11-09 18:03:33 -08:00
ebcca5251c 0.14.19 2016-11-04 13:38:12 -07:00
b72b906fdb Merge branch 'master' of github.com:dtandersen/docker_factorio_server
Conflicts:
	0.14/Dockerfile
2016-11-04 20:28:37 +00:00
b643a13e88 don't cache 2016-11-04 20:25:41 +00:00
6499b0974e 0.14.19 2016-11-04 20:25:28 +00:00
c9052c3296 minor text changes 2016-11-04 13:21:30 -07:00
832e64511d minor text changes 2016-11-03 12:40:17 -07:00
a3890f37fa minor text changes 2016-11-03 12:26:29 -07:00
4089f8d59a 0.14 is stable 2016-11-03 12:10:08 -07:00
4026ec5359 minor text changes 2016-11-03 08:02:43 -07:00
9e93a34d6e minor text changes 2016-11-03 00:50:03 -07:00
05d697afac minor text changes 2016-11-03 00:41:04 -07:00
d9a5604448 didn't need factorio.crt 2016-11-03 01:12:01 +00:00
128e15db7c 0.4.18 2016-11-02 17:50:00 -07:00
71e9179722 minor text changes 2016-11-02 16:48:00 -07:00
e3a97f3448 minor text changes 2016-11-02 16:42:24 -07:00
5506d33475 minor text changes 2016-11-02 16:40:27 -07:00
0314266309 proxy details 2016-11-02 15:37:22 -07:00
16a85d32e9 keep it simple 2016-11-02 12:20:47 -07:00
d36578a471 add 0.13 version 2016-11-01 14:01:30 -07:00
9f8453645a experimental 0.13 version 2016-11-01 20:47:26 +00:00
eb4814f16c clean /tmp/factorio 2016-11-01 20:32:57 +00:00
c85ce5e75a show contents of /tmp/factorio 2016-11-01 20:32:37 +00:00
d4a5f0f019 Merge branch '0.14-dev' of github.com:dtandersen/docker_factorio_server into 0.14-dev 2016-11-01 20:32:00 +00:00
8222bd1b45 use sh instead of bash 2016-11-01 20:31:24 +00:00
de26a241af minor text changes 2016-11-01 10:15:18 -07:00
ea4843498b more on save files 2016-10-31 13:30:08 -07:00
009548446f first save is _autosave1.zip 2016-10-31 13:28:13 -07:00
a48b23201b first save is _autosave1.zip 2016-10-31 20:27:11 +00:00
e9962a431b pretty up tree 2016-10-31 13:20:47 -07:00
2f41a0d660 rcon docs 2016-10-31 13:15:24 -07:00
53c953707b update docs for rcon 2016-10-31 13:07:26 -07:00
b53d98cb2a set rcon password 2016-10-31 19:59:57 +00:00
833de3cc46 run with tini 2016-10-31 19:55:01 +00:00
d94543bbcd minor text changes 2016-10-27 16:14:16 -07:00
7074d5284b fix links 2016-10-27 16:07:35 -07:00
c119b077c8 updated to 0.14.17 2016-10-27 22:37:09 +00:00
479d7e2fe1 move stuff to 0.14 2016-10-27 14:52:54 -07:00
1247c62b13 minor text changes 2016-10-27 12:41:35 -07:00
a7f765a070 Merge branch 'master' of github.com:dtandersen/docker_factorio_server into 0.14.16-dev 2016-10-27 12:28:35 -07:00
1c8b9fd5b9 minor text changes 2016-10-27 12:27:42 -07:00
1ddcbec2c5 Merge pull request #1 from dtandersen/0.14.16-dev
added 0.14 version
2016-10-27 12:06:17 -07:00
2d82e0a19c added 0.14 version 2016-10-27 11:58:19 -07:00
6320dd04df minor text changes 2016-10-27 11:49:22 -07:00
1ea5ddfbee update badges 2016-10-27 11:48:00 -07:00
067ac0ac14 troubleshooting 2016-10-27 11:44:05 -07:00
036a15ce1e minor text changes 2016-10-27 11:36:55 -07:00
003f0cdbe6 minor text changes 2016-10-27 11:30:19 -07:00
43fafdcfe5 minor text changes 2016-10-26 17:36:00 -07:00
667bd97388 Merge remote-tracking branch 'remotes/origin/0.14.16'
# Conflicts:
#	Dockerfile
#	README.md
2016-10-26 17:15:54 -07:00
62da6f5f56 follow symlink 2016-10-27 00:08:21 +00:00
47ca759742 remove sample settings 2016-10-26 16:58:31 -07:00
e12e303d2d docs 2016-10-26 16:56:00 -07:00
ebf0afa524 format list 2016-10-26 16:53:13 -07:00
1b5a9d5b9e format list 2016-10-26 16:52:05 -07:00
3404976818 doc updates 2016-10-26 16:46:21 -07:00
ba68274a7b revise docs 2016-10-26 16:41:54 -07:00
ee509835db describe new volume structure 2016-10-26 16:30:32 -07:00
ee3385959d use one main /factorio volume 2016-10-26 23:15:09 +00:00
0ac68ac31a log example 2016-10-26 15:08:06 -07:00
552520136d remove curl after use 2016-10-26 15:08:06 -07:00
2b63d0ef0e log example 2016-10-26 14:44:56 -07:00
390c76906b remove curl after use 2016-10-26 18:32:06 +00:00
5bc0e128f1 Merge remote-tracking branch 'remotes/origin/0.14.16' 2016-10-26 10:48:08 -07:00
0fdac9cebb specify port 2016-10-26 17:46:34 +00:00
86ec899b06 mount volumes to /tmp 2016-10-26 17:27:28 +00:00
81edeb0183 fixed json syntax 2016-10-26 17:27:11 +00:00
08090e70a0 fixed check for saves 2016-10-26 17:26:47 +00:00
16602ba40b specify location of settings 2016-10-25 21:57:49 -07:00
16b6a5b253 Merge branch '0.14.16' 2016-10-25 14:08:09 -07:00
44f5ffd6b4 add badges 2016-10-25 13:48:02 -07:00
8fd01ef07f Merge remote-tracking branch 'remotes/origin/0.14.16'
# Conflicts:
#	Dockerfile
#	README.md
2016-10-25 13:39:45 -07:00
6b8c0f01ab update checksum 2016-10-25 13:35:32 -07:00
284e7f00b0 update example config 2016-10-25 13:34:55 -07:00
abe0c82a8e add back exec 2016-10-25 12:33:45 -07:00
f90f3c7569 removed exec 2016-10-25 19:30:12 +00:00
9dca3590ae update docs 2016-10-25 11:59:50 -07:00
1e7c8bc8b7 typo 2016-10-25 11:40:53 -07:00
4ed57b0c20 rename entrypoint 2016-10-25 18:39:28 +00:00
88258a263e utility script 2016-10-25 18:31:07 +00:00
f3df464856 simplify startup 2016-10-25 18:30:24 +00:00
3a007b377f update alpine 2016-10-25 18:02:33 +00:00
ddf7f99a2b doc update 2016-10-25 10:28:04 -07:00
8a3df67b52 example config 2016-10-25 10:11:09 -07:00
14b11329d7 updated readme 2016-10-25 17:03:50 +00:00
2d79854697 update readme 2016-10-25 16:58:54 +00:00
65658b10d6 use server-settings.json for settings 2016-10-25 16:49:23 +00:00
be4c89d937 updated to 0.14.14 2016-10-25 15:51:34 +00:00
cb52eb3dff Merge pull request #8 from bkach/0.12.33
Updated to 0.12.33
2016-05-04 07:23:54 +02:00
322fe61b13 Corrected SHA1 2016-05-04 01:43:57 +01:00
3e42118a04 Updated to 0.12.33
- Updated Dockerfile and SHA1
- Updated README
2016-05-03 15:00:35 +01:00
ee861acee5 Merge pull request #7 from dtandersen/0.12.32_update
0.12.32 update
2016-04-30 17:35:26 +02:00
f69732d4f8 updated readme to 0.12.32 2016-04-29 16:08:48 -07:00
86914046e0 updated version and sha1 for 0.12.32 2016-04-29 16:07:55 -07:00
f7c2b144ce updated readme for 0.12.32 2016-04-29 15:56:19 -07:00
a2179f3f61 updated version and sha1 for 0.12.32 2016-04-29 15:51:47 -07:00
3cc553c786 Merge branch 'master' of https://github.com/zopanix/docker_factorio_server into dt_0.12.31 2016-04-29 15:48:27 -07:00
0b3a7bd84c Merge pull request #6 from dtandersen/0.12.31_update
updated to 0.12.31
2016-04-27 13:18:07 +02:00
a28d8315aa updated imagelayers.io badge url 2016-04-26 15:05:59 -07:00
14d1af4d9e updated dockerfile links 2016-04-26 15:01:32 -07:00
b8c0e42baa Merge branch '0.12.31_update' into dt_develop
# Conflicts:
#	Dockerfile
#	README.md
2016-04-26 14:44:56 -07:00
148c01eab0 updated to 0.12.31 2016-04-26 14:26:18 -07:00
99c79f7e64 Revert "Set version to 0.12.29"
This reverts commit 7e0718a332.
2016-04-26 13:51:29 +02:00
11f92f34d8 Set version to 0.12.29 2016-04-26 13:48:32 +02:00
186af111d9 Set Version to 0.12.30 2016-04-24 14:14:19 +02:00
b6f14800ab Set Version to 0.12.29 2016-04-24 14:13:51 +02:00
4a5504cdb6 Set Version to 0.12.28 2016-04-24 14:13:35 +02:00
0e8cb6c26c Set Version to 0.12.27 2016-04-24 14:13:14 +02:00
b950fe99c6 Set Version to 0.12.25 2016-04-24 14:12:44 +02:00
6ed85052ff Set Version to 0.12.25 2016-04-24 14:12:17 +02:00
30425c8d66 Set Version to 0.12.24 2016-04-24 14:11:45 +02:00
522a3a2e93 Trying to fix with alpine 2016-04-24 14:06:44 +02:00
e37cdcc508 Fixing some things 2016-04-24 13:42:15 +02:00
7babfe47ff Fixed typo 2016-04-24 13:36:37 +02:00
bfd2c5f600 Set version back to 0.12.30 2016-04-24 12:56:23 +02:00
3fc2e97f7e Set version to 0.12.29 2016-04-24 12:55:53 +02:00
d141764f44 Remove sha1sum 2016-04-24 12:54:12 +02:00
4a816ad5f9 Added feature alpine with ssl verification and sha1 verification of the image 2016-04-24 12:45:15 +02:00
d1aa470d25 Merge branch 'alpine' 2016-04-14 23:04:50 -07:00
70e936c7e3 how to see logs 2016-04-14 22:54:17 -07:00
f17e773885 formatted the word dockerfile as code 2016-04-14 22:50:29 -07:00
c8af86eaef reformat docs 2016-04-14 22:48:52 -07:00
dcac7d0c46 added versions to top 2016-04-14 22:45:25 -07:00
b6d1748deb added fancy bagde 2016-04-14 22:41:33 -07:00
e1e8ff07e6 added description of factorio 2016-04-14 22:37:25 -07:00
601ee80a47 Merge pull request #4 from dtandersen/autopausetypo2
Fixed spelling of FACTORIO
2016-04-15 07:37:17 +02:00
fd4ed925b2 point to dtandersen repo 2016-04-14 22:23:36 -07:00
2d1f625219 Merge branch 'readme' 2016-04-14 22:14:12 -07:00
7d5e58d4a0 re-enabled SSL security 2016-04-14 22:06:32 -07:00
c535246dac added CA root; removed domain cert 2016-04-14 22:05:59 -07:00
16959ea374 factorio ssl cert 2016-04-14 17:55:35 -07:00
8f6446f088 try using alpine images 2016-04-14 17:55:24 -07:00
65a32b3cbf Corrected a typo.
Merge branch 'autopausetypo2'

# Conflicts:
#	Dockerfile
2016-04-14 16:08:37 -07:00
7ca5892e5e corrected a typo 2016-04-14 16:04:06 -07:00
327fd1c925 Moved factorio link to the top 2016-04-14 16:02:34 -07:00
323718b631 combined ENVs to reduce layer count 2016-04-14 15:20:14 -07:00
8049134ed5 verify SHA1 checksum 2016-04-14 15:03:35 -07:00
0a35d754ec fixed spelling of FACTORIO 2016-04-14 14:36:34 -07:00
cf60f77d53 Merge pull request #2 from guyspronck/master
Updated version to 0.12.30
2016-04-07 10:23:16 +02:00
65315ccfa8 Updated Version number in README 2016-04-06 12:17:42 +02:00
e7ac99c855 Updated version in Dockerfile 2016-04-06 12:16:26 +02:00
7798e07daf Added some env variables to make it more clear 2016-03-28 09:14:53 +02:00
993ca2631c Add a todo 2016-03-27 20:52:16 +02:00
a0551876fa Removed todo as it is done 2016-03-27 19:25:16 +02:00
74a32021de Fixed typo in variable 2016-03-27 19:17:39 +02:00
545297c443 Fixed typo 2016-03-27 19:15:05 +02:00
a9fc7f32d9 Added no auto pause feature 2016-03-27 19:10:33 +02:00
fd2f656e57 Fixed if statement in options 2016-03-27 18:55:08 +02:00
d99ff47bbc Fixed small typo 2016-03-27 18:45:29 +02:00
b056148d75 Added dissalow_commands feature 2016-03-27 18:39:55 +02:00
dfb8b32a10 Refactor Dockerfile 2016-03-27 09:02:10 +02:00
78c79d8fe9 Fixed readme 2016-03-27 08:57:43 +02:00
aa587d172c Fixed readme 2016-03-27 08:56:09 +02:00
a4f5d9a10a Gave readme better readebility 2016-03-27 08:50:17 +02:00
09be8bf68a Add a todo 2016-03-27 08:23:46 +02:00
f589953648 Fixed typo in dockerfile 2016-03-26 18:52:56 +01:00
46d525bcf7 Added mods feature and refactored readme 2016-03-26 18:45:31 +01:00
115dc3b1a9 Made a small fix on autosave features 2016-03-26 18:04:55 +01:00
310cb82749 Fixed minor errors 2016-03-26 15:25:32 +01:00
308f7cad10 Added autosave feature 2016-03-26 10:49:27 +01:00
9044045dac corrected readme 2016-03-26 10:23:21 +01:00
a1e701df66 Added text in readme 2016-03-24 10:35:28 +01:00
87141b2835 Added a link in readme 2016-03-24 10:30:17 +01:00
a6476af82f Corrected small typo 2016-03-24 10:00:34 +01:00
12ec73be53 Added feature to take latest save 2016-03-24 09:43:21 +01:00
ef4c0132d4 Added current version 2016-03-24 09:42:04 +01:00
764b214723 Set version in readme 2016-03-24 08:39:16 +01:00
dcd07982a8 Set version to 0.12.29 2016-03-24 08:26:28 +01:00
7880bd9f65 Set version to 0.12.28 2016-03-23 09:12:59 +01:00
27fc3b97bc Set factorio in 0.1.27 2016-03-21 11:00:04 +01:00
ce1320100b Changed from ubuntu to debian so it would be lighter 2016-03-10 17:44:11 +01:00
3ea1619384 Changed readme 2016-03-10 11:35:35 +01:00
52bd19356f Made some minor correction on dockerfile 2016-03-10 11:01:15 +01:00
bc55163f5c Changed readme 2016-03-10 10:23:22 +01:00
5a4e0d8ebf Set factorio at 0.12.26 2016-03-06 17:48:32 +01:00
361bb94857 Looking to loose some weight 2016-03-05 14:13:05 +01:00
048d12ef75 Enriched readme 2016-03-04 15:50:01 +01:00
4d8c94a6c8 Fixed typo in dockerfile 2016-03-04 15:28:03 +01:00
fa1af6c03d Removed unsued command 2016-03-04 15:25:20 +01:00
d8b20e5531 Removed unsused command 2016-03-04 15:23:17 +01:00
bdb51f5020 Fixed tar issues and apt issues 2016-03-04 15:21:09 +01:00
87d1c4b0a3 Fixing tar issues 2016-03-04 15:15:28 +01:00
89ef301d3d Fixing tar issues 2016-03-04 14:36:44 +01:00
0960c7c371 Fixing some issues with tar 2016-03-04 14:35:05 +01:00
cc496ccaa0 Skipped certif verification 2016-03-04 14:29:43 +01:00
f9e62fe90d Added full path to docker file 2016-03-04 14:21:38 +01:00
94494299ee Get server from site and removed some files 2016-03-04 13:35:29 +01:00
677dc983e8 Testing docker build 2016-02-29 11:34:01 +01:00
8588fdd6fd Fixed typo 2016-02-26 15:03:32 +01:00
eb22619e44 Removed unused layer 2016-02-26 15:00:46 +01:00
6f33dd8444 Added dynamic creation of map only if needed 2016-02-26 14:59:01 +01:00
43af3aaf33 Initial commit 2016-02-26 11:09:47 +01:00
8 changed files with 244 additions and 14 deletions

View File

@ -2,8 +2,8 @@ FROM frolvlad/alpine-glibc:alpine-3.4
MAINTAINER https://github.com/dtandersen/docker_factorio_server
ENV VERSION=0.14.20 \
SHA1=d7c93754b543270aaa170aee01d8fd75fcc32c58
ENV VERSION=0.14.23 \
SHA1=6ef84341c6fc1cf45cfdd6acc8468aaa117b9e8a
RUN mkdir /opt && \
apk --no-cache add curl tini pwgen && \

30
0.15/Dockerfile Normal file
View File

@ -0,0 +1,30 @@
FROM frolvlad/alpine-glibc:alpine-3.6
MAINTAINER https://github.com/dtandersen/docker_factorio_server
ENV PORT=34197 \
RCON_PORT=27015 \
VERSION=0.15.40 \
SHA1=f79a975f6b8c0ee87e2fa60f7d1f7133f332c3ec
RUN mkdir /opt && \
apk add --update --no-cache tini pwgen && \
apk add --update --no-cache --virtual .build-deps curl && \
curl -sSL https://www.factorio.com/get-download/$VERSION/headless/linux64 \
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \
echo "$SHA1 /tmp/factorio_headless_x64_$VERSION.tar.xz" | sha1sum -c && \
tar xf /tmp/factorio_headless_x64_$VERSION.tar.xz --directory /opt && \
chmod -R ugo=rwx /opt/factorio && \
rm /tmp/factorio_headless_x64_$VERSION.tar.xz && \
ln -s /factorio/saves /opt/factorio/saves && \
ln -s /factorio/mods /opt/factorio/mods && \
apk del .build-deps
VOLUME /factorio
EXPOSE $PORT/udp $RCON_PORT/tcp
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/docker-entrypoint.sh"]

8
0.15/docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '2'
services:
factorio:
build: .
ports:
- "34197:34197"
volumes:
- /tmp/factorio:/factorio

43
0.15/docker-entrypoint.sh Executable file
View File

@ -0,0 +1,43 @@
#!/bin/sh -x
set -e
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json $CONFIG/server-settings.json
fi
if [ ! -f $CONFIG/map-gen-settings.json ]; then
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
fi
if [ ! -f $CONFIG/map-settings.json ]; then
cp /opt/factorio/data/map-settings.example.json $CONFIG/map-settings.json
fi
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
/opt/factorio/bin/x64/factorio \
--create $SAVES/_autosave1.zip \
--map-gen-settings $CONFIG/map-gen-settings.json \
--map-settings $CONFIG/map-settings.json
fi
exec /opt/factorio/bin/x64/factorio \
--port $PORT \
--start-server-load-latest \
--server-settings $CONFIG/server-settings.json \
--server-whitelist $CONFIG/server-whitelist.json \
--server-banlist $CONFIG/server-banlist.json \
--rcon-port $RCON_PORT \
--rcon-password "$(cat $CONFIG/rconpw)" \
--server-id /factorio/config/server-id.json

39
0.16/Dockerfile Normal file
View File

@ -0,0 +1,39 @@
FROM frolvlad/alpine-glibc:alpine-3.6
MAINTAINER https://github.com/dtandersen/docker_factorio_server
ARG USER=factorio
ARG GROUP=factorio
ARG PUID=845
ARG PGID=845
ENV PORT=34197 \
RCON_PORT=27015 \
VERSION=0.16.8 \
SHA1=591cca79bb71f5e4d809367d0beb5b7834f73c24
VOLUME /factorio
RUN mkdir -p /opt && \
apk add --update --no-cache pwgen && \
apk add --update --no-cache --virtual .build-deps curl && \
curl -sSL https://www.factorio.com/get-download/$VERSION/headless/linux64 \
-o /tmp/factorio_headless_x64_$VERSION.tar.xz && \
echo "$SHA1 /tmp/factorio_headless_x64_$VERSION.tar.xz" | sha1sum -c && \
tar xf /tmp/factorio_headless_x64_$VERSION.tar.xz --directory /opt && \
chmod ugo=rwx /opt/factorio && \
rm /tmp/factorio_headless_x64_$VERSION.tar.xz && \
ln -s /factorio/saves /opt/factorio/saves && \
ln -s /factorio/mods /opt/factorio/mods && \
apk del .build-deps && \
addgroup -g $PGID -S $GROUP && \
adduser -u $PUID -G $USER -s /bin/sh -SDH $GROUP && \
chown -R $USER:$GROUP /opt/factorio /factorio
EXPOSE $PORT/udp $RCON_PORT/tcp
COPY ./docker-entrypoint.sh /
USER $USER
ENTRYPOINT ["/docker-entrypoint.sh"]

8
0.16/docker-compose.yml Normal file
View File

@ -0,0 +1,8 @@
version: '2'
services:
factorio:
build: .
ports:
- "34197:34197"
volumes:
- /opt/factorio:/factorio

47
0.16/docker-entrypoint.sh Executable file
View File

@ -0,0 +1,47 @@
#!/bin/sh -x
set -e
id
SAVES=/factorio/saves
CONFIG=/factorio/config
mkdir -p $SAVES
mkdir -p /factorio/mods
mkdir -p $CONFIG
#chown -R factorio /factorio
if [ ! -f $CONFIG/rconpw ]; then
echo $(pwgen 15 1) > $CONFIG/rconpw
fi
if [ ! -f $CONFIG/server-settings.json ]; then
cp /opt/factorio/data/server-settings.example.json $CONFIG/server-settings.json
fi
if [ ! -f $CONFIG/map-gen-settings.json ]; then
cp /opt/factorio/data/map-gen-settings.example.json $CONFIG/map-gen-settings.json
fi
if [ ! -f $CONFIG/map-settings.json ]; then
cp /opt/factorio/data/map-settings.example.json $CONFIG/map-settings.json
fi
if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
/opt/factorio/bin/x64/factorio \
--create $SAVES/_autosave1.zip \
--map-gen-settings $CONFIG/map-gen-settings.json \
--map-settings $CONFIG/map-settings.json
fi
exec /opt/factorio/bin/x64/factorio \
--port $PORT \
--start-server-load-latest \
--server-settings $CONFIG/server-settings.json \
--server-whitelist $CONFIG/server-whitelist.json \
--server-banlist $CONFIG/server-banlist.json \
--rcon-port $RCON_PORT \
--rcon-password "$(cat $CONFIG/rconpw)" \
--server-id /factorio/config/server-id.json

View File

@ -1,9 +1,19 @@
# Factorio [![Docker Pulls](https://img.shields.io/docker/pulls/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/) [![Docker Stars](https://img.shields.io/docker/stars/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/)
# Factorio [![](https://images.microbadger.com/badges/image/dtandersen/factorio.svg)](https://microbadger.com/images/dtandersen/factorio "Get your own image badge on microbadger.com") [![Docker Pulls](https://img.shields.io/docker/pulls/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/) [![Docker Stars](https://img.shields.io/docker/stars/dtandersen/factorio.svg)](https://hub.docker.com/r/dtandersen/factorio/)
* `0.14.20`, `0.14`, `latest` [(0.14/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.14/Dockerfile)
* `0.14.19`, `stable` [(0.14/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/0.14.19/0.14/Dockerfile)
* `0.16.8`, `0.16`, `latest` [(0.16/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.16/Dockerfile)
* `0.15.40`, `0.15`, `stable` [(0.15/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.15/Dockerfile)
* `0.14.23`, `0.14` [(0.14/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.14/Dockerfile)
* `0.13.20`, `0.13` [(0.13/Dockerfile)](https://github.com/dtandersen/docker_factorio_server/blob/master/0.13/Dockerfile)
*Tag descriptions*
* `latest` - highest version: may be experimental.
* `stable` - highest version declared stable.
* `0.x` - highest version in a branch: may be experimental.
* `0.x.y` - a specific version.
* `0.x-dev` - whatever is in master for that version.
# What is Factorio?
[Factorio](https://www.factorio.com) is a game in which you build and maintain factories.
@ -58,9 +68,34 @@ docker start factorio
Try to connect to the server. Check the logs if it isn't working.
## Console
To issue console commands to the server, start the server in interactive mode with `-it`. Open the console with `docker attach` and then type commands.
docker run -d -it \
--name factorio \
dtandersen/factorio
docker attach factorio
## Upgrading
Before upgrading backup the save. It's easy to make a save in the client.
Ensure `-v` was used to run the server so the save is outside of the Docker container. The `docker rm` command completely destroys the container, which includes the save if it isn't stored in an data volume.
Delete the container and refresh the image:
docker stop factorio
docker rm factorio
docker pull dtandersen/factorio
Now run the server as before. In about a minute the new version of Factorio should be up and running, complete with saves and config!
## Saves
A new map named `_autosave1.zip` is generated the first time the server is started. The `map-gen-settings.json` file in `/tmp/factorio/config` is used for the map settings. On subsequent runs the newest save is used.
A new map named `_autosave1.zip` is generated the first time the server is started. The `map-gen-settings.json` and `map-settings.json` files in `/tmp/factorio/config` are used for the map settings. On subsequent runs the newest save is used.
To load an old save stop the server and run the command `touch oldsave.zip`. This resets the date. Then restart the server. Another option is to delete all saves except one.
@ -76,11 +111,20 @@ Copy mods into the mods folder and restart the server.
Set the RCON password in the `rconpw` file. A random password is generated if `rconpw` doesn't exist.
To change the password stop the server, modify `rconpw`, and restart the server.
To change the password, stop the server, modify `rconpw`, and restart the server.
To "disable" RCON don't expose port 27015, i.e. start the server with `-p 34197:34197/udp` instead of `-P`. RCON still runs, but nobody is able to connect to it.
To "disable" RCON don't expose port 27015, i.e. start the server without `-p 27015:27015/tcp`. RCON is still running, but nobody can to connect to it.
## Whitelisting (0.15.3+)
Create file `config/server-whitelist.json` and add the whitelisted users.
[
"you",
"friend"
]
# Container Details
The philosophy is to [keep it simple](http://wiki.c2.com/?KeepItSimple).
@ -98,7 +142,8 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
|-- config
| |-- map-gen-settings.json
| |-- rconpw
| `-- server-settings.json
| |-- server-settings.json
| `-- server-whitelist.json
|-- mods
| `-- fancymod.zip
`-- saves
@ -107,10 +152,15 @@ To keep things simple, the container uses a single volume mounted at `/factorio`
## Ports
* `34197/udp` - Factorio clients (required).
* `34197/udp` - Game server (required).
* `27015/tcp` - RCON (optional).
## Environment Variables
* `PORT` (0.15+) - Start the server on an alterate port, .e.g. `docker run -e "PORT=34198"`.
## Troubleshooting
**My server is listed in the server browser, but nobody can connect**
@ -121,10 +171,15 @@ By default, Docker routes traffic through a proxy. The proxy changes the source
To fix the incorrect port, start the Docker service with the `--userland-proxy=false` switch. Docker will route traffic with iptables rules instead of a proxy. Add the switch to the `DOCKER_OPTS` environment variable or `ExecStart` in the Docker systemd service definition. The specifics vary by operating system.
**When I run a server on a port besides 34197 nobody can connect from the server browser**
# Credits
Use the `PORT` environment variable to start the server on the a different port, .e.g. `docker run -e "PORT=34198"`. This changes the source port on the packets used for port detection. `-p 34198:34197` works fine for private servers, but the server browser detects the wrong port.
Ideas borrowed from:
* [Zopanix](https://github.com/zopanix/docker_factorio_server)
* [Rfvgyhn](https://github.com/Rfvgyhn/docker-factorio)
# Contributors
* [dtandersen](https://github.com/dtandersen/docker_factorio_server) - Maintainer
* [Zopanix](https://github.com/zopanix/docker_factorio_server) - Originator
* [Rfvgyhn](https://github.com/Rfvgyhn/docker-factorio) - Randomly generate RCON password
* [gnomus](https://github.com/gnomus/docker_factorio_server) - White listing
* [jaredledvina](https://github.com/jaredledvina/docker_factorio_server) - Version update