1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-12-19 21:01:31 +00:00

Set HOST env vars

This commit is contained in:
FreddleSpl0it
2025-06-02 15:54:16 +02:00
parent 4cc463a728
commit 8d211ea767
5 changed files with 41 additions and 27 deletions

View File

@@ -527,9 +527,10 @@ class BootstrapBase:
"user": self.db_config['user'],
"password": self.db_config['password'],
"database": self.db_config['database'],
"unix_socket": socket or self.db_config['unix_socket'],
'connection_timeout': self.db_config['connection_timeout']
}
if self.db_config['unix_socket']:
config["unix_socket"] = socket or self.db_config['unix_socket']
while True:
try: