From 31b91bc31a42291aad264a081ef8a70950a69fe4 Mon Sep 17 00:00:00 2001 From: KartoffelToby Date: Tue, 6 Sep 2016 19:21:34 +0200 Subject: [PATCH] [TASK] change taiga templates (#242) * [TASK] change taiga templates * [TASK] remove config files --- templates/taiga/0/docker-compose.yml | 57 ++++++++++++++++++++------- templates/taiga/0/rancher-compose.yml | 29 ++++++++++++-- templates/taiga/config.yml | 2 +- 3 files changed, 68 insertions(+), 20 deletions(-) diff --git a/templates/taiga/0/docker-compose.yml b/templates/taiga/0/docker-compose.yml index 4db16a4..0625bde 100644 --- a/templates/taiga/0/docker-compose.yml +++ b/templates/taiga/0/docker-compose.yml @@ -1,18 +1,45 @@ postgres: - image: postgres + image: postgres + environment: + - POSTGRES_DB=taiga + - POSTGRES_USER=taiga + - POSTGRES_PASSWORD=password + volumes: + - ${DATABASE}:/var/lib/postgresql/data -taigaback: - image: ipedrazas/taiga-back - links: - - postgres:postgres - ports: - - "8000:8000" +rabbit: + image: rabbitmq:3 + hostname: rabbit -taigafront: - image: ipedrazas/taiga-front - links: - - taigaback:taiga-back - ports: - - "80:80" - environment: - - "API_NAME=boot2docker" +redis: + image: redis:3 + +celery: + image: celery + links: + - rabbit + +events: + image: kartoffeltoby/taiga-events:latest + links: + - rabbit + +taiga: + image: kartoffeltoby/taiga:latest + restart: always + links: + - postgres + - events + - rabbit + - redis + environment: + - TAIGA_HOSTNAME=${DOMAIN} + - TAIGA_DB_HOST=postgres + - TAIGA_DB_NAME=taiga + - TAIGA_DB_USER=taiga + - TAIGA_DB_PASSWORD=password + - HTTPS_SELF_DOMAIN=${DOMAIN} + - TAIGA_SSL=True + - TAIGA_SLEEP=10 + volumes: + - ${DATA}:/usr/src/taiga-back/media \ No newline at end of file diff --git a/templates/taiga/0/rancher-compose.yml b/templates/taiga/0/rancher-compose.yml index b504209..68e89e0 100644 --- a/templates/taiga/0/rancher-compose.yml +++ b/templates/taiga/0/rancher-compose.yml @@ -1,10 +1,31 @@ .catalog: name: "Taiga" - version: "v0.1-educaas1" + version: "v0.3" description: "Project management platform for agile developers" uuid: taiga-0 minimum_rancher_version: v0.51.0 questions: - - -taiga: + - variable: "DOMAIN" + label: "Domain" + description: "your taiga domain name" + required: true + default: taiga.test.de + type: "string" + - variable: "DATA" + label: "Storage" + description: "the path for the Storage" + required: true + default: /home/taiga/data + type: "string" + - variable: "DATABASE" + label: "DB Storage" + description: "the path for the DB Storage" + required: true + default: /home/taiga/db + type: "string" + - variable: "CONF" + label: "Config Storage" + description: "the path for the Config Storage" + required: true + default: /home/taiga/conf + type: "string" diff --git a/templates/taiga/config.yml b/templates/taiga/config.yml index 553729a..6f50151 100644 --- a/templates/taiga/config.yml +++ b/templates/taiga/config.yml @@ -1,5 +1,5 @@ name: Taiga description: | Project management platform for agile developers -version: v0.1-educaas1 +version: v0.3 category: Agile