mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-14 17:24:57 +02:00
General discourse optimations
This commit is contained in:
parent
23496f2fab
commit
24fb56845b
@ -13,5 +13,5 @@ pry(main)> SiteSetting.all.each { |setting| puts "#{setting.name}: #{setting.val
|
|||||||
To reinitialize the container execute:
|
To reinitialize the container execute:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker network connect discourse_default central-postgres && ./launcher rebuild discourse_application
|
docker network connect discourse_default central-postgres && /opt/docker/discourse/services/discourse_repository/launcher rebuild discourse_application
|
||||||
```
|
```
|
@ -8,10 +8,12 @@
|
|||||||
listen: recreate discourse
|
listen: recreate discourse
|
||||||
|
|
||||||
- name: "add central database temporary to {{application_id}}_default"
|
- name: "add central database temporary to {{application_id}}_default"
|
||||||
command:
|
command: docker network connect {{applications.discourse.network}} central-{{ database_type }}
|
||||||
cmd: "docker network connect {{applications.discourse.network}} central-{{ database_type }}"
|
failed_when: >
|
||||||
ignore_errors: true
|
result.rc != 0 and
|
||||||
when: applications | is_feature_enabled('central_database',application_id)
|
'already exists in network' not in result.stderr
|
||||||
|
register: result
|
||||||
|
when: applications | is_feature_enabled('central_database', application_id)
|
||||||
listen: recreate discourse
|
listen: recreate discourse
|
||||||
|
|
||||||
- name: rebuild discourse
|
- name: rebuild discourse
|
||||||
|
Loading…
x
Reference in New Issue
Block a user