![]() FCT_SERVER_MAX_PLAYERS: The server maximum number of players.FCT_SERVER_DESCRIPTION: The server description, as shown in the server browser. ![]() FCT_SERVER_NAME: The server name, as shown in the server browser.There are, however, a few configuration values you might want to set via dokku config:set: You might want to check the Dockerfile and modify the Factorio version or the list of mods, though. In order to deploy, you just need to clone this Gist, add the Dokku remote and push. If you intend to use RCON, remember to also forward the RCON (TCP) port. Set up port forwarding: dokku docker-options:add '-p 34197:34197/udp' App Configurationīefore we push the application to Dokku, it's a good idea to configure a few things to make it work correctly:Ĭreate the application: dokku apps:create factorioĭefine a storage volume for the saves directory so your map persists across deploys: dokku storage:mount factorio /var/lib/dokku/data/storage/factorio/saves:/opt/factorio/savesĭisable Nginx proxying, as we're not using HTTP for anything: dokku proxy:disable factorio I personally use the DigitalOcean's One-click Dokku Droplet, but you may use any provider you want. Setting up and configuring Dokku is out of scope of this document, but there are plenty of resources online to do so. In order for the instructions on this document to work, you need to use Dokku v0.5.0 or greater. ![]() This are the actual files used to launch my Factorio server, so you should trust that it works. This document and associated files describe a very simple procedure to push a Dokku application that will launch a Factorio Multiplayer Server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |