From 924786955e3a03df365aa078de4554ed2139b028 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 5 Jan 2024 12:52:22 +0100 Subject: [PATCH] Added discourse to central db network --- roles/docker-discourse/README.md | 2 -- roles/docker-discourse/templates/app.yml.j2 | 4 ++++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/docker-discourse/README.md b/roles/docker-discourse/README.md index 11504b14..2cc0569e 100644 --- a/roles/docker-discourse/README.md +++ b/roles/docker-discourse/README.md @@ -1,7 +1,5 @@ # Ansible Role: Docker-Discourse -@TODO Database needs to be decoupled - This Ansible role sets up Discourse, a popular open-source discussion platform, using Docker containers. It is designed to automate the deployment and configuration process of Discourse, making it easier to maintain and update. --- diff --git a/roles/docker-discourse/templates/app.yml.j2 b/roles/docker-discourse/templates/app.yml.j2 index cf29905c..ecf3324d 100644 --- a/roles/docker-discourse/templates/app.yml.j2 +++ b/roles/docker-discourse/templates/app.yml.j2 @@ -125,3 +125,7 @@ run: ## After getting the first signup email, re-comment the line. It only needs to run once. #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'" - exec: echo "End of custom commands" + +docker_args: + - --network=central_{{ database_type }}_network + - --name=discourse_application