mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 12:51:54 +01:00
Added nbetwork bound for discourse and central-postgres
This commit is contained in:
parent
998f4e383d
commit
c5de205e87
@ -130,6 +130,7 @@ def update_discourse(directory):
|
|||||||
if git_pull():
|
if git_pull():
|
||||||
print("Start Discourse update procedure.")
|
print("Start Discourse update procedure.")
|
||||||
update_procedure("docker stop {{applications.discourse.container}}")
|
update_procedure("docker stop {{applications.discourse.container}}")
|
||||||
|
update_procedure("docker network connect discourse_default central-postgres")
|
||||||
update_procedure("./launcher rebuild {{applications.discourse.container}}")
|
update_procedure("./launcher rebuild {{applications.discourse.container}}")
|
||||||
else:
|
else:
|
||||||
print("Discourse update skipped. No changes in git repository.")
|
print("Discourse update skipped. No changes in git repository.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user