Added multi domain support for discourse

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-11 12:49:28 +01:00
parent 8ec9cea059
commit 9c83eb123c
2 changed files with 5 additions and 1 deletions

View File

@ -208,7 +208,8 @@
roles:
- role: docker-discourse
vars:
domain: discourse.{{top_domain}}
domain: forum.{{top_domain}}
domains: "{{discourse_domains}}"
http_port: 8020
- name: setup akaunting hosts

View File

@ -1,6 +1,9 @@
---
- name: "include tasks nginx-docker-proxy-domain.yml"
include_tasks: nginx-docker-proxy-domain.yml
loop: "{{ domains }}"
loop_control:
loop_var: domain
- name: "create {{docker_compose_instance_directory}}"
file: