Factorio Docker/Rancher setup
Posted: Tue Mar 29, 2016 10:48 pm
I wrote a web UI that will install mods and handle starting/stopping/restarting your server. Also lets you download savegames and the server's entire collection of mods as a single zip file so you don't have to go hunting to make sure your local ones match. There're some basic permissions to ensure people don't go doing bad things as well. It all conveniently sits in a docker container, so it's really easy to get it working.
You can fiddle around with the image itself, or if you have Rancher installed, you can just add the git repo to the catalog and have a really easy one click install and setup of your Factorio headless server. Just go to Admin/Settings and add the git repo to your catalog: https://github.com/skord/docker_factorio.
Once you've done that, you can go to the catalog and have a one click install for the server, as shown in the attachment. I've been using it for a while now and it seems pretty stable. The container that runs your server runs a small sinatra app on port 80 that allows you to do all the stuff I said in the first paragraph.
I'd like to eventually add the option to register your server with a public server list and have the mod downloader automatically install dependencies, but I'm kinda a busy guy.
You can fiddle around with the image itself, or if you have Rancher installed, you can just add the git repo to the catalog and have a really easy one click install and setup of your Factorio headless server. Just go to Admin/Settings and add the git repo to your catalog: https://github.com/skord/docker_factorio.
Once you've done that, you can go to the catalog and have a one click install for the server, as shown in the attachment. I've been using it for a while now and it seems pretty stable. The container that runs your server runs a small sinatra app on port 80 that allows you to do all the stuff I said in the first paragraph.
I'd like to eventually add the option to register your server with a public server list and have the mod downloader automatically install dependencies, but I'm kinda a busy guy.