mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 12:41:05 +01:00
Refactored for simplified use of cleanup parameter
This commit is contained in:
parent
21b5b4a299
commit
01d806fae9
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks to receive attendize certbot certificate"
|
- name: "include tasks to receive attendize certbot certificate"
|
||||||
include_tasks: recieve-certbot-certificate.yml
|
include_tasks: recieve-certbot-certificate.yml
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: include docker vars
|
- name: include docker vars
|
||||||
include_vars: vars/docker-database-service.yml.j2
|
include_vars: vars/docker-common.yml.j2
|
||||||
|
|
||||||
- name: load docker compose dependencies
|
- name: load docker compose dependencies
|
||||||
include_role:
|
include_role:
|
||||||
|
@ -6,18 +6,12 @@
|
|||||||
name: which
|
name: which
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: "Ensure {{docker_compose_project_name}}_default network exists"
|
- name: "Ensure {{docker_compose_project_name}}_default network exists"
|
||||||
community.docker.docker_network:
|
community.docker.docker_network:
|
||||||
name: "{{docker_compose_project_name}}_default"
|
name: "{{docker_compose_project_name}}_default"
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
@ -8,11 +8,6 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: domain
|
loop_var: domain
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,15 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template:
|
template:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include create-domains.yml"
|
- name: "include create-domains.yml"
|
||||||
include_tasks: create-domains.yml
|
include_tasks: create-domains.yml
|
||||||
@ -8,12 +8,6 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: domain
|
loop_var: domain
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: copy docker-compose.yml
|
- name: copy docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template:
|
template:
|
||||||
src: "docker-compose.yml.j2"
|
src: "docker-compose.yml.j2"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
@ -14,11 +14,6 @@
|
|||||||
domain: "{{element_domain}}"
|
domain: "{{element_domain}}"
|
||||||
http_port: "{{element_http_port}}"
|
http_port: "{{element_http_port}}"
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
#- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp"
|
#- name: "create {{docker_compose_instance_directory}}mautrix_whatsapp"
|
||||||
# file:
|
# file:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks create-proxy-with-domain-replace.yml"
|
- name: "include tasks create-proxy-with-domain-replace.yml"
|
||||||
include_tasks: create-proxy-with-domain-replace.yml
|
include_tasks: create-proxy-with-domain-replace.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include task certbot-matomo.yml"
|
- name: "include task certbot-matomo.yml"
|
||||||
include_tasks: certbot-matomo.yml
|
include_tasks: certbot-matomo.yml
|
||||||
@ -11,23 +11,12 @@
|
|||||||
dest: "{{nginx_servers_directory}}{{domain}}.conf"
|
dest: "{{nginx_servers_directory}}{{domain}}.conf"
|
||||||
notify: restart nginx
|
notify: restart nginx
|
||||||
|
|
||||||
- name: "create {{path_docker_volumes}}nextcloud/"
|
|
||||||
file:
|
|
||||||
path: "{{path_docker_volumes}}nextcloud"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: configure nginx.conf
|
- name: configure nginx.conf
|
||||||
template:
|
template:
|
||||||
src: "templates/nginx.conf.j2"
|
src: "templates/nginx.conf.j2"
|
||||||
dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
|
dest: "{{path_docker_volumes}}nextcloud/nginx.conf"
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template:
|
template:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include create-domains.yml"
|
- name: "include create-domains.yml"
|
||||||
include_tasks: create-domains.yml
|
include_tasks: create-domains.yml
|
||||||
@ -8,11 +8,6 @@
|
|||||||
loop_control:
|
loop_control:
|
||||||
loop_var: domain
|
loop_var: domain
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: copy docker-compose.yml
|
- name: copy docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
template: src=docker-compose.yml.j2 dest={{docker_compose_instance_directory}}docker-compose.yml
|
||||||
notify: docker compose project setup
|
notify: docker compose project setup
|
||||||
|
@ -1,12 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include docker-compose-common.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: docker-compose-common.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: pull app repository
|
- name: pull app repository
|
||||||
git:
|
git:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
@ -10,12 +10,6 @@
|
|||||||
vars:
|
vars:
|
||||||
nginx_docker_reverse_proxy_extra_configuration: "client_max_body_size {{wordpress_max_upload_size}};"
|
nginx_docker_reverse_proxy_extra_configuration: "client_max_body_size {{wordpress_max_upload_size}};"
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: "Transfering upload.ini to {{docker_compose_instance_directory}}"
|
- name: "Transfering upload.ini to {{docker_compose_instance_directory}}"
|
||||||
template:
|
template:
|
||||||
src: upload.ini.j2
|
src: upload.ini.j2
|
||||||
|
@ -1,16 +1,10 @@
|
|||||||
---
|
---
|
||||||
- name: "include docker-compose-common.yml"
|
- name: "include docker-compose-database.yml"
|
||||||
include_tasks: docker-compose-common.yml
|
include_tasks: docker-compose-database.yml
|
||||||
|
|
||||||
- name: "include tasks nginx-docker-proxy-domain.yml"
|
- name: "include tasks nginx-docker-proxy-domain.yml"
|
||||||
include_tasks: nginx-docker-proxy-domain.yml
|
include_tasks: nginx-docker-proxy-domain.yml
|
||||||
|
|
||||||
- name: "create {{docker_compose_instance_directory}}"
|
|
||||||
file:
|
|
||||||
path: "{{docker_compose_instance_directory}}"
|
|
||||||
state: directory
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
- name: add docker-compose.yml
|
- name: add docker-compose.yml
|
||||||
template:
|
template:
|
||||||
src: "docker-compose.yml.j2"
|
src: "docker-compose.yml.j2"
|
||||||
|
@ -1,11 +1,18 @@
|
|||||||
- name: include docker vars
|
- name: include docker vars
|
||||||
include_vars: vars/docker-database-service.yml.j2
|
include_vars: vars/docker-common.yml.j2
|
||||||
|
|
||||||
- name: load docker compose dependencies
|
- name: load docker compose dependencies
|
||||||
include_role:
|
include_role:
|
||||||
name: docker-compose
|
name: docker-compose
|
||||||
|
|
||||||
- name: create central database
|
- name: "remove {{ docker_compose_instance_directory }} and all its contents"
|
||||||
include_role:
|
file:
|
||||||
name: docker-{{database_type}}
|
path: "{{ docker_compose_instance_directory }}"
|
||||||
when: enable_central_database | bool
|
state: absent
|
||||||
|
when: reset_files | bool
|
||||||
|
|
||||||
|
- name: "create {{docker_compose_instance_directory}}"
|
||||||
|
file:
|
||||||
|
path: "{{docker_compose_instance_directory}}"
|
||||||
|
state: directory
|
||||||
|
mode: 0755
|
10
tasks/docker-compose-database.yml
Normal file
10
tasks/docker-compose-database.yml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
- name: include docker vars/docker-database.yml.j2
|
||||||
|
include_vars: vars/docker-database.yml.j2
|
||||||
|
|
||||||
|
- name: "include docker-compose-common.yml"
|
||||||
|
include_tasks: docker-compose-common.yml
|
||||||
|
|
||||||
|
- name: create central database
|
||||||
|
include_role:
|
||||||
|
name: docker-{{database_type}}
|
||||||
|
when: enable_central_database | bool
|
1
vars/docker-common.yml.j2
Normal file
1
vars/docker-common.yml.j2
Normal file
@ -0,0 +1 @@
|
|||||||
|
docker_compose_instance_directory: "{{ path_docker_compose_instances + docker_compose_project_name + '/' }}"
|
@ -1,6 +1,5 @@
|
|||||||
docker_compose_instance_directory: "{{ path_docker_compose_instances + docker_compose_project_name + '/' }}"
|
|
||||||
database_instance: "{{ 'central-' + database_type if enable_central_database else docker_compose_project_name }}"
|
database_instance: "{{ 'central-' + database_type if enable_central_database else docker_compose_project_name }}"
|
||||||
database_host: "{{ 'central-' + database_type if enable_central_database else 'database' }}"
|
database_host: "{{ 'central-' + database_type if enable_central_database else 'database' }}"
|
||||||
database_name: "{{ docker_compose_project_name }}"
|
database_name: "{{ docker_compose_project_name }}"
|
||||||
database_username: "{{ docker_compose_project_name }}"
|
database_username: "{{ docker_compose_project_name }}"
|
||||||
database_version: "{{ postgres_default_version }}"
|
database_version: "{{ postgres_default_version }}"
|
Loading…
Reference in New Issue
Block a user