MyGit

v1.4.2

FAForever/server

版本发布时间: 2020-05-05 07:51:33

FAForever/server最新发布版本:v1.13.4(2023-11-13 05:58:19)

Summary

Config variables are loaded from a file instead of environment variables. This means they can be reloaded without restarting the server.

Deployment Notes

  1. Set environment variable CONFIGURATION_FILE to the config file path.
  2. Create a config file (yaml) to override needed config settings (keys not present in the file will use the default values).
  3. Mount the file as a docker volume so that CONFIGURATION_FILE points to the file path inside the container.

Example:

USE_API: true
LOG_LEVEL: "INFO"
COTURN_HOSTS: ["host1.example.com", "host2.example.com"]

There is also another example in tests/data/test_conf.yaml

When config variables are reloaded any changes will be logged at the info level. This can be used to verify that everything is set up correctly, but note that by default CONFIGURATION_REFRESH_TIME is set to 300 seconds.

Pull Requests

相关地址:原始地址 下载(tar) 下载(zip)

查看:2020-05-05发行的版本