mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-24 05:31:04 +01:00
Compare commits
No commits in common. "0866b498acd474dedf24883c60f00d631dbb95ad" and "9121c16ab3d80a17f9cebf220408766a294ffcd2" have entirely different histories.
0866b498ac
...
9121c16ab3
@ -1,38 +0,0 @@
|
|||||||
# Docker Taiga Role 🐳📋
|
|
||||||
|
|
||||||
This Ansible role sets up and configures a Taiga project management platform using Docker. It includes tasks for setting up the database, Nginx proxy, and updating the repository with necessary files.
|
|
||||||
|
|
||||||
## Table of Contents
|
|
||||||
|
|
||||||
- [Tasks](#tasks)
|
|
||||||
- [Variables](#variables)
|
|
||||||
- [Templates](#templates)
|
|
||||||
- [Author](#author)
|
|
||||||
|
|
||||||
## Tasks
|
|
||||||
|
|
||||||
The main tasks included in this role are:
|
|
||||||
|
|
||||||
- Setting up the database.
|
|
||||||
- Configuring Nginx as a proxy.
|
|
||||||
- Updating the repository with necessary files.
|
|
||||||
|
|
||||||
## Variables
|
|
||||||
|
|
||||||
Key variables used in this role include the Docker Compose project name, database type and password, and the repository address.
|
|
||||||
|
|
||||||
## Templates
|
|
||||||
|
|
||||||
The role includes several Jinja2 templates to configure the environment and Docker Compose setup, including:
|
|
||||||
|
|
||||||
- **docker-compose-inits.yml.j2**
|
|
||||||
- **.env.j2**
|
|
||||||
- **docker-compose.yml.j2**
|
|
||||||
|
|
||||||
## Author
|
|
||||||
|
|
||||||
This role was created by Kevin Veen-Birkenbach. You can reach him at [kevin@veen.world](mailto:kevin@veen.world). Visit his website at [veen.world](https://www.veen.world/).
|
|
||||||
|
|
||||||
## Note
|
|
||||||
|
|
||||||
This README was created with the assistance of ChatGPT. [Link to conversation](https://chatgpt.com/share/fee718ab-cfe1-46f3-b97f-8f8c896ffd11).
|
|
@ -38,9 +38,6 @@ x-volumes:
|
|||||||
services:
|
services:
|
||||||
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
||||||
taiga-back:
|
taiga-back:
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
image: taigaio/taiga-back:latest
|
image: taigaio/taiga-back:latest
|
||||||
environment: *default-back-environment
|
environment: *default-back-environment
|
||||||
volumes: *default-back-volumes
|
volumes: *default-back-volumes
|
||||||
@ -49,15 +46,12 @@ services:
|
|||||||
taiga:
|
taiga:
|
||||||
|
|
||||||
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
||||||
taiga-events-rabbitmq:
|
events-rabbitmq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
taiga-async-rabbitmq:
|
taiga-async-rabbitmq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
taiga-async:
|
taiga-async:
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
image: taigaio/taiga-back:latest
|
image: taigaio/taiga-back:latest
|
||||||
entrypoint: ["/taiga-back/docker/async_entrypoint.sh"]
|
entrypoint: ["/taiga-back/docker/async_entrypoint.sh"]
|
||||||
environment: *default-back-environment
|
environment: *default-back-environment
|
||||||
@ -67,7 +61,7 @@ services:
|
|||||||
taiga:
|
taiga:
|
||||||
|
|
||||||
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
{% include 'templates/docker/container/depends-on-also-database.yml.j2' %}
|
||||||
taiga-events-rabbitmq:
|
events-rabbitmq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
taiga-async-rabbitmq:
|
taiga-async-rabbitmq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
@ -82,9 +76,6 @@ services:
|
|||||||
hostname: "taiga-async-rabbitmq"
|
hostname: "taiga-async-rabbitmq"
|
||||||
volumes:
|
volumes:
|
||||||
- async-rabbitmq-data:/var/lib/rabbitmq
|
- async-rabbitmq-data:/var/lib/rabbitmq
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
@ -96,9 +87,6 @@ services:
|
|||||||
TAIGA_WEBSOCKETS_URL: "${WEBSOCKETS_SCHEME}://${TAIGA_DOMAIN}"
|
TAIGA_WEBSOCKETS_URL: "${WEBSOCKETS_SCHEME}://${TAIGA_DOMAIN}"
|
||||||
TAIGA_SUBPATH: "${SUBPATH}"
|
TAIGA_SUBPATH: "${SUBPATH}"
|
||||||
# ...your customizations go here
|
# ...your customizations go here
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
@ -111,17 +99,14 @@ services:
|
|||||||
RABBITMQ_USER: "${RABBITMQ_USER}"
|
RABBITMQ_USER: "${RABBITMQ_USER}"
|
||||||
RABBITMQ_PASS: "${RABBITMQ_PASS}"
|
RABBITMQ_PASS: "${RABBITMQ_PASS}"
|
||||||
TAIGA_SECRET_KEY: "${SECRET_KEY}"
|
TAIGA_SECRET_KEY: "${SECRET_KEY}"
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
depends_on:
|
depends_on:
|
||||||
taiga-events-rabbitmq:
|
events-rabbitmq:
|
||||||
condition: service_started
|
condition: service_started
|
||||||
|
|
||||||
taiga-events-rabbitmq:
|
events-rabbitmq:
|
||||||
image: rabbitmq:3.8-management-alpine
|
image: rabbitmq:3.8-management-alpine
|
||||||
environment:
|
environment:
|
||||||
RABBITMQ_ERLANG_COOKIE: "${RABBITMQ_ERLANG_COOKIE}"
|
RABBITMQ_ERLANG_COOKIE: "${RABBITMQ_ERLANG_COOKIE}"
|
||||||
@ -131,9 +116,6 @@ services:
|
|||||||
hostname: "events-rabbitmq"
|
hostname: "events-rabbitmq"
|
||||||
volumes:
|
volumes:
|
||||||
- events-rabbitmq-data:/var/lib/rabbitmq
|
- events-rabbitmq-data:/var/lib/rabbitmq
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
@ -143,9 +125,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
MAX_AGE: "${ATTACHMENTS_MAX_AGE}"
|
MAX_AGE: "${ATTACHMENTS_MAX_AGE}"
|
||||||
SECRET_KEY: "${SECRET_KEY}"
|
SECRET_KEY: "${SECRET_KEY}"
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
@ -158,9 +137,6 @@ services:
|
|||||||
- ./taiga-gateway/taiga.conf:/etc/nginx/conf.d/default.conf
|
- ./taiga-gateway/taiga.conf:/etc/nginx/conf.d/default.conf
|
||||||
- static-data:/taiga/static
|
- static-data:/taiga/static
|
||||||
- media-data:/taiga/media
|
- media-data:/taiga/media
|
||||||
restart: {{docker_restart_policy}}
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
|
|
||||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||||
taiga:
|
taiga:
|
||||||
|
Loading…
Reference in New Issue
Block a user