mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-04 12:18:17 +00:00 
			
		
		
		
	Added nbetwork bound for discourse and central-postgres
This commit is contained in:
		@@ -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.")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user