r15ch13 / arkcluster

ARK: Survival Evolved as Docker Cluster
https://hub.docker.com/r/r15ch13/arkcluster
MIT License
30 stars 17 forks source link

Sharing single INI file amongst cluster? #8

Closed Avuja closed 1 year ago

Avuja commented 1 year ago

Have successfully stood up a cluster of several servers and am looking for the best way of migrating my settings from previous installs to this new containerized setup.

What's the best practice for altering the Game.ini and GameUserSettings.ini across all servers within a cluster?

Does it need to be done individually on each server volume?

Do they get overwritten each time docker compose is ran?

Should I edit a template instead? or should I be using the arkmanager for settings like tame speed and such?

r15ch13 commented 1 year ago

You have to manually copy Game.ini and GameUserSettings.ini to every server volume. Arkmanager only overwrites some settings like passwords and ports set in the arkmanager.cfg.

You could add the config files to the cluster volume and point arkGameUserSettingsIniFile and arkGameIniFile to them. Haven't tested that. Don't know why, because I have the same problem as you :grin:

I'm going to expose these to options as environment variables, so they can be set via compose

r15ch13 commented 1 year ago

Added with GAME_USERSETTINGS_INI_PATH and GAME_INI_PATH which can be pointed to a config file in your cluster directory. So every server in the cluster gets the same config (Server name, ports and so on get updated by arkmanager)