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

Use consistent naming for host-related env vars

This commit is contained in:
FreddleSpl0it
2025-05-31 22:31:08 +02:00
parent 743bfcec60
commit 4c4a440cdf
3 changed files with 16 additions and 16 deletions

View File

@@ -8,9 +8,9 @@ class BootstrapNginx(BootstrapBase):
self.connect_mysql()
# wait for Hosts
php_service = os.getenv("PHPFPMHOST") or "php-fpm-mailcow"
rspamd_service = os.getenv("RSPAMDHOST") or "rspamd-mailcow"
sogo_service = os.getenv("SOGOHOST")
php_service = os.getenv("PHPFPM_HOST") or "php-fpm-mailcow"
rspamd_service = os.getenv("RSPAMD_HOST") or "rspamd-mailcow"
sogo_service = os.getenv("SOGO_HOST")
self.wait_for_host(php_service)
if not self.isYes(os.getenv("SKIP_RSPAMD", False)):
self.wait_for_host(rspamd_service)