mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
autoconf - fix edge case when configs are managed before services
This commit is contained in:
parent
f135aa5c51
commit
a7af4c548b
1 changed files with 7 additions and 0 deletions
|
|
@ -83,6 +83,13 @@ class DockerController(Controller):
|
|||
if not server_name:
|
||||
continue
|
||||
|
||||
# check if server_name exists
|
||||
if not self._is_service_present(server_name):
|
||||
self._logger.warning(
|
||||
f"Ignoring config because {server_name} doesn't exist",
|
||||
)
|
||||
continue
|
||||
|
||||
for variable, value in labels.items():
|
||||
if not variable.startswith("bunkerweb."):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Reference in a new issue