v1.4.2
版本发布时间: 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
- Set environment variable
CONFIGURATION_FILE
to the config file path. - Create a config file (yaml) to override needed config settings (keys not present in the file will use the default values).
- 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
- Reload Configuration Variables (#570) [by UmbraSolis]
- Bump faf-stack version to v20.4.18 (#578) [by UmbraSolis]