mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-23 13:11:04 +01:00
Refactored and optimized code for taiga
This commit is contained in:
parent
ac902b67a5
commit
27b2238167
@ -1,5 +1,4 @@
|
||||
docker_compose_project_name: "akaunting"
|
||||
docker_compose_file_path: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
database_type: "mariadb"
|
||||
database_password: "{{akaunting_database_password}}"
|
||||
repository_address: "https://github.com/akaunting/docker.git"
|
||||
|
@ -1,6 +1,5 @@
|
||||
---
|
||||
docker_compose_project_name: "attendize"
|
||||
docker_compose_file_path: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
mail_interface_domain: "mail.{{domain}}"
|
||||
database_type: "mariadb"
|
||||
database_password: "{{attendize_database_password}}"
|
||||
|
@ -1,7 +1,6 @@
|
||||
docker_compose_project_name: "openproject"
|
||||
repository_directory: "{{ path_docker_compose_instances }}{{docker_compose_project_name}}/"
|
||||
docker_compose_instance_directory: "{{repository_directory}}compose/"
|
||||
docker_compose_file_path: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
database_password: "{{openproject_database_password}}"
|
||||
repository_address: "https://github.com/opf/openproject-deploy"
|
||||
database_type: "postgres"
|
||||
|
@ -11,4 +11,4 @@
|
||||
detached_files:
|
||||
- .env
|
||||
- docker-compose.yml
|
||||
- docker-compose-init.yml
|
||||
- docker-compose-inits.yml
|
||||
|
@ -5,7 +5,7 @@ SUBPATH="" # it'll be appended to the TAIGA_DOMAIN (use either "" or a "/subpath
|
||||
WEBSOCKETS_SCHEME=wss # events connection protocol (use either "ws" or "wss")
|
||||
|
||||
# Taiga's Secret Key - Variable to provide cryptographic signing
|
||||
SECRET_KEY="{{taigaio_secret_key}}" # Please, change it to an unpredictable value!!
|
||||
SECRET_KEY="{{taiga_secret_key}}" # Please, change it to an unpredictable value!!
|
||||
|
||||
# Taiga's Database settings - Variables to create the Taiga database and connect to it
|
||||
POSTGRES_USER={{database_username}} # user to connect to PostgreSQL
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: "3.5"
|
||||
|
||||
x-environment:
|
||||
&default-back-environment
|
||||
POSTGRES_DB: "{{database_name}}"
|
||||
@ -35,6 +33,7 @@ services:
|
||||
image: taigaio/taiga-back:latest
|
||||
environment: *default-back-environment
|
||||
{% include 'templates/docker/container/depends-on-just-database.yml.j2' %}
|
||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||
|
||||
entrypoint: "python manage.py"
|
||||
volumes: *default-back-volumes
|
||||
|
@ -1,5 +1,3 @@
|
||||
version: "3.5"
|
||||
|
||||
x-environment:
|
||||
&default-back-environment
|
||||
# These environment variables will be used by taiga-back and taiga-async.
|
||||
|
@ -1,5 +1,4 @@
|
||||
docker_compose_project_name: "taigaio"
|
||||
docker_compose_file_path: "{{docker_compose_instance_directory}}docker-compose.yml"
|
||||
docker_compose_project_name: "taiga"
|
||||
database_type: "postgres"
|
||||
database_password: "{{taigaio_database_password}}"
|
||||
database_password: "{{taiga_database_password}}"
|
||||
repository_address: "https://github.com/taigaio/taiga-docker"
|
||||
|
@ -2,4 +2,4 @@
|
||||
include_tasks: update-repository-with-files.yml
|
||||
vars:
|
||||
detached_files:
|
||||
- "{{docker_compose_file_path}}"
|
||||
- "docker-compose.yml"
|
@ -16,7 +16,7 @@
|
||||
- name: pull docker repository
|
||||
git:
|
||||
repo: "{{ repository_address }}"
|
||||
dest: "{{ repository_directory }}"
|
||||
dest: "{{ repository_directory | default(docker_compose_instance_directory) }}"
|
||||
update: yes
|
||||
notify: docker compose project setup
|
||||
become: true
|
||||
|
Loading…
Reference in New Issue
Block a user