Configuration files are automatically generated based on env variables in the Docker image
This commit is contained in:
@ -126,9 +126,9 @@ void emptybeat(LPHEART heart, int pulse)
|
||||
//
|
||||
int Start()
|
||||
{
|
||||
if (!CConfig::instance().LoadFile("conf.txt"))
|
||||
if (!CConfig::instance().LoadFile("db.conf"))
|
||||
{
|
||||
SPDLOG_ERROR("Loading conf.txt failed.");
|
||||
SPDLOG_ERROR("Loading db.conf failed.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user