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: roles:
- role: docker-discourse - role: docker-discourse
vars: vars:
domain: discourse.{{top_domain}} domain: forum.{{top_domain}}
domains: "{{discourse_domains}}"
http_port: 8020 http_port: 8020
- name: setup akaunting hosts - name: setup akaunting hosts

View File

@ -1,6 +1,9 @@
--- ---
- name: "include tasks nginx-docker-proxy-domain.yml" - name: "include tasks nginx-docker-proxy-domain.yml"
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}}" - name: "create {{docker_compose_instance_directory}}"
file: file: