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