Solved wrong namings

This commit is contained in:
2025-07-11 02:59:25 +02:00
parent f9b3fb8cfa
commit 7fba13b550
15 changed files with 96 additions and 29 deletions

View File

@@ -133,7 +133,7 @@ def update_discourse(directory):
update_procedure("docker stop {{applications.discourse.container}}")
update_procedure("docker rm {{applications.discourse.container}}")
try:
update_procedure("docker network connect {{applications.discourse.network}} {{ applications.postgres.hostname }}")
update_procedure("docker network connect {{applications.discourse.network}} {{ applications['rdbms-postgres'].hostname }}")
except subprocess.CalledProcessError as e:
error_message = e.output.decode()
if "already exists" in error_message or "is already connected" in error_message: