mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-09 22:41:03 +01:00
Solved discourse network bug
This commit is contained in:
parent
bf421835c3
commit
21b5b4a299
@ -18,6 +18,11 @@
|
||||
state: directory
|
||||
mode: 0755
|
||||
|
||||
- name: "Ensure {{docker_compose_project_name}}_default network exists"
|
||||
community.docker.docker_network:
|
||||
name: "{{docker_compose_project_name}}_default"
|
||||
state: present
|
||||
|
||||
- name: add docker-compose.yml
|
||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||
notify: docker compose project setup
|
||||
@ -47,12 +52,6 @@
|
||||
dest: "{{discourse_repository_directory}}containers/app.yml"
|
||||
notify: recreate discourse
|
||||
|
||||
- name: "Ensure {{docker_compose_project_name}}_default network exists"
|
||||
community.docker.docker_network:
|
||||
name: "{{docker_compose_project_name}}_default"
|
||||
state: present
|
||||
when: enable_central_database | bool
|
||||
|
||||
- name: "add central database temporary to {{docker_compose_project_name}}_default"
|
||||
command:
|
||||
cmd: "docker network connect discourse_default central-{{ database_type }}"
|
||||
|
@ -10,3 +10,4 @@ services:
|
||||
redis:
|
||||
|
||||
{% include 'templates/docker-compose-networks.yml.j2' %}
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user