mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented a new docker compose structure which seperates between docker compose files and environment variable file to protect credentials better. Also did recatoring. Changes not fully tested
This commit is contained in:
@@ -43,10 +43,10 @@
|
||||
mode: '700'
|
||||
state: directory
|
||||
|
||||
- name: "copy configuration to {{discourse_repository_directory}}containers/discourse_application.yml"
|
||||
- name: "copy configuration to {{discourse_application_yml_destination}}"
|
||||
template:
|
||||
src: discourse_application.yml.j2
|
||||
dest: "{{discourse_repository_directory}}containers/discourse_application.yml"
|
||||
dest: "{{discourse_application_yml_destination}}"
|
||||
notify: recreate discourse
|
||||
|
||||
- name: "destroy container discourse_application"
|
||||
|
@@ -1,5 +1,6 @@
|
||||
application_id: "discourse"
|
||||
discourse_application_container: "discourse_application"
|
||||
database_password: "{{ baserow_database_password }}"
|
||||
database_type: "postgres"
|
||||
discourse_repository_directory: "{{ path_docker_compose_instances + application_id + '/repository/' }}"
|
||||
application_id: "discourse"
|
||||
discourse_application_container: "discourse_application"
|
||||
database_password: "{{ discourse_database_password }}"
|
||||
database_type: "postgres"
|
||||
discourse_repository_directory: "{{docker_compose.directories.services}}repository/"
|
||||
discourse_application_yml_destination: "{{discourse_repository_directory}}containers/discourse_application.yml"
|
Reference in New Issue
Block a user