Refactored docker rroles dto use new role docker-compose

This commit is contained in:
2023-12-30 16:49:37 +01:00
parent f70a7690a8
commit 3fa052f71d
79 changed files with 161 additions and 300 deletions

View File

@@ -11,14 +11,5 @@
dest: "{{nginx_servers_directory}}{{domain}}.conf"
notify: restart nginx
#- name: configure {{ mail_interface_domain }}.conf
# template:
# src: roles/nginx-docker-reverse-proxy/templates/domain.conf.j2
# dest: {{nginx_servers_directory}}{{ mail_interface_domain }}.conf
# vars:
# http_port: "{{ mail_interface_http_port }}"
# domain: "{{ mail_interface_domain }}"
# notify: restart nginx
- name: "include tasks update-repository-with-docker-compose.yml"
include_tasks: update-repository-with-docker-compose.yml

View File

@@ -1,12 +1,11 @@
---
docker_compose_project_name: "attendize"
docker_compose_instance_directory: "{{path_docker_compose_instances}}attendize/"
docker_compose_instance_directory: "{{path_docker_compose_instances}}{{docker_compose_project_name}}/"
docker_compose_file_path: "{{docker_compose_instance_directory}}docker-compose.yml"
docker_compose_backup_path: "/tmp/attendize-docker-compose-backup.yml"
docker_compose_backup_path: "/tmp/{{docker_compose_project_name}}-docker-compose-backup.yml"
mail_interface_domain: "mail.{{domain}}"
database_instance: "{{docker_compose_project_name}}"
database_host: "database"
database_databasename: "{{database_instance}}"
database_username: "{{database_instance}}"
database_databasename: "{{docker_compose_project_name}}"
database_username: "{{docker_compose_project_name}}"
database_password: "{{attendize_database_password}}"
repository_address: "https://github.com/Attendize/Attendize.git"