mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 04:31:13 +01:00
Solved network bug
This commit is contained in:
parent
cfa299410a
commit
42f4cf1867
@ -1,5 +1,5 @@
|
||||
---
|
||||
- name: recreate discourse
|
||||
command:
|
||||
cmd: ./launcher rebuild discourse_application
|
||||
cmd: "./launcher rebuild {{discourse_application_container}}"
|
||||
chdir: "{{discourse_repository_directory}}"
|
||||
|
@ -64,6 +64,12 @@
|
||||
- name: flush, to recreate discourse app
|
||||
meta: flush_handlers
|
||||
|
||||
- name: "add {{discourse_application_container}} to network central_postgres"
|
||||
command:
|
||||
cmd: "docker network connect central_postgres {{discourse_application_container}}"
|
||||
ignore_errors: true
|
||||
when: enable_central_database | bool
|
||||
|
||||
- name: "remove central database from {{docker_compose_project_name}}_default"
|
||||
command:
|
||||
cmd: "docker network disconnect discourse_default central-{{ database_type }}"
|
||||
|
@ -119,4 +119,4 @@ run:
|
||||
|
||||
docker_args:
|
||||
- --network={{docker_compose_project_name}}_default
|
||||
- --name=discourse_application
|
||||
- --name={{discourse_application_container}}
|
||||
|
@ -1,4 +1,5 @@
|
||||
docker_compose_project_name: "discourse"
|
||||
database_password: "{{ baserow_database_password }}"
|
||||
database_type: "postgres"
|
||||
discourse_repository_directory: "{{ path_docker_compose_instances + docker_compose_project_name + '/repository/' }}"
|
||||
docker_compose_project_name: "discourse"
|
||||
discourse_application_container: "discourse_application"
|
||||
database_password: "{{ baserow_database_password }}"
|
||||
database_type: "postgres"
|
||||
discourse_repository_directory: "{{ path_docker_compose_instances + docker_compose_project_name + '/repository/' }}"
|
Loading…
Reference in New Issue
Block a user