Автор: walkline
Config: Implement config override with env vars (#502)* Config: Implement config override with env varsImplement overriding of configuration from the .conf file with environment variables.Environment variables keys are autogenerated based on the keys defined in .conf file.Usage example:$ export CM_DATA_DIR=/usr$ CM_WORLD_SERVER_PORT=8080 ./mangosd* Update env var key format and encapsulated env loading logic.The new env key format:Mangosd_Rate_HealthMangosd_DataDir* Add suggestions from code review.* Add missing includes.
Подробнее...