mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Refactored docker rroles dto use new role docker-compose
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
---
|
||||
- name: recreate matrix
|
||||
command:
|
||||
cmd: docker-compose up -d --force-recreate
|
||||
chdir: "{{docker_compose_instance_directory}}"
|
||||
environment:
|
||||
COMPOSE_HTTP_TIMEOUT: 600
|
||||
DOCKER_CLIENT_TIMEOUT: 600
|
@@ -1,2 +1,2 @@
|
||||
dependencies:
|
||||
- nginx-docker-reverse-proxy
|
||||
- docker-compose
|
||||
|
@@ -27,25 +27,25 @@
|
||||
# template:
|
||||
# src: "whatsapp-bridge-config.yml.j2"
|
||||
# dest: "{{docker_compose_instance_directory}}mautrix_whatsapp/config.yml"
|
||||
# notify: recreate matrix
|
||||
# notify: docker compose project setup
|
||||
|
||||
- name: add element-config.json
|
||||
template:
|
||||
src: "element-config.json.j2"
|
||||
dest: "{{docker_compose_instance_directory}}element-config.json"
|
||||
notify: recreate matrix
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: add homeserver.yaml
|
||||
template:
|
||||
src: "homeserver.yaml.j2"
|
||||
dest: "{{docker_compose_instance_directory}}homeserver.yaml"
|
||||
notify: recreate matrix
|
||||
notify: docker compose project setup
|
||||
|
||||
- name: add log.config
|
||||
template:
|
||||
src: "log.config.j2"
|
||||
dest: "{{docker_compose_instance_directory}}{{synapse_domain}}.log.config"
|
||||
notify: recreate matrix
|
||||
notify: docker compose project setup
|
||||
|
||||
# https://github.com/matrix-org/synapse/issues/6303
|
||||
- name: set correct folder permissions
|
||||
@@ -56,4 +56,4 @@
|
||||
template:
|
||||
src: "docker-compose.yml.j2"
|
||||
dest: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
notify: recreate matrix
|
||||
notify: docker compose project setup
|
||||
|
@@ -1,7 +1,7 @@
|
||||
---
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}matrix/"
|
||||
database_instance: "matrix"
|
||||
database_host: "database"
|
||||
database_databasename: "{{database_instance}}"
|
||||
database_username: "{{database_instance}}"
|
||||
database_password: "{{matrix_database_password}}"
|
||||
docker_compose_project_name: "matrix"
|
||||
docker_compose_instance_directory: "{{path_docker_compose_instances}}{{docker_compose_project_name}}/"
|
||||
database_host: "database"
|
||||
database_databasename: "{{docker_compose_project_name}}"
|
||||
database_username: "{{docker_compose_project_name}}"
|
||||
database_password: "{{matrix_database_password}}"
|
Reference in New Issue
Block a user