Compare commits
15 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 92d3a64978 | |||
| b9c1d8c2dc | |||
| f03dd539bc | |||
| 4dd201e60b | |||
| 8f03b3e2d5 | |||
| b9f573c6e5 | |||
| 87e53d2eaf | |||
| 614cc8987b | |||
| aeea73d597 | |||
| f70fc911f0 | |||
| 89a52ea27a | |||
| 87cb993bfa | |||
| bdb35fd30f | |||
| 9afd4ef3f9 | |||
| 89c80a2597 |
+2
-2
@@ -3,7 +3,7 @@ kind: pipeline
|
||||
name: deploy to swarm-test.autonomic.zone
|
||||
steps:
|
||||
- name: deployment
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest@sha256:fc1fa69bea5528db7ba184297735ac1bbd278720910e4cb1f502de9aee14e228
|
||||
settings:
|
||||
host: swarm-test.autonomic.zone
|
||||
stack: example_com # UPDATE ME
|
||||
@@ -26,7 +26,7 @@ kind: pipeline
|
||||
name: generate recipe catalogue
|
||||
steps:
|
||||
- name: release a new version
|
||||
image: plugins/downstream
|
||||
image: plugins/downstream@sha256:03ff02d8a5637ea5197fa08929a91dfeeb5e30b1da62b82b6c2a895b170338ca
|
||||
settings:
|
||||
server: https://build.coopcloud.tech
|
||||
token:
|
||||
|
||||
+17
-15
@@ -5,13 +5,14 @@ ENABLE_BACKUPS=true
|
||||
|
||||
DOMAIN=taiga.example.com
|
||||
## Domain aliases
|
||||
#EXTRA_DOMAINS=', `www.nextcloud.example.com`'
|
||||
#EXTRA_DOMAINS=', `www.taiga.example.com`'
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
# Set the subpath that taiga resides
|
||||
# TAIGA_SUBPATH=""
|
||||
|
||||
#Djano superuser settings to create initial superuser
|
||||
# Djano superuser settings to create initial superuser
|
||||
DJANGO_SUPERUSER_USERNAME=admin
|
||||
DJANGO_SUPERUSER_EMAIL=admin@example.com
|
||||
SECRET_DJANGO_PASSWORD_VERSION=v1
|
||||
@@ -25,23 +26,24 @@ POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
||||
TAIGA_SECRET_KEY_FILE=/run/secrets/taiga_secret
|
||||
RABBITMQ_PASS_FILE=/run/secrets/rabbitmq_password
|
||||
|
||||
|
||||
# Taiga's SMTP settings - Variables to send Taiga's emails to the users
|
||||
#EMAIL_BACKEND=console # use an SMTP server or display the emails in the console (either "smtp" or "console")
|
||||
#EMAIL_HOST=smtp.host.example.com # SMTP server address
|
||||
#EMAIL_PORT=587 # default SMTP port
|
||||
#EMAIL_HOST_USER=user # user to connect the SMTP server
|
||||
#EMAIL_HOST_PASSWORD=password # SMTP user's password
|
||||
#EMAIL_DEFAULT_FROM=changeme@example.com # default email address for the automated emails
|
||||
#EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive (only set one of those to True)
|
||||
#EMAIL_USE_TLS=True # use TLS (secure) connection with the SMTP server
|
||||
#EMAIL_USE_SSL=False # use implicit TLS (secure) connection with the SMTP server
|
||||
|
||||
# Taiga's RabbitMQ settings - Variables to leave messages for the realtime and asynchronous events
|
||||
#RABBITMQ_ERLANG_COOKIE=secret-erlang-cookie # unique value shared by any connected instance of RabbitMQ
|
||||
# RABBITMQ_ERLANG_COOKIE=secret-erlang-cookie # unique value shared by any connected instance of RabbitMQ
|
||||
|
||||
# Taiga's Attachments - Variable to define how long the attachments will be accesible
|
||||
ATTACHMENTS_MAX_AGE=360 # token expiration date (in seconds)
|
||||
|
||||
# Taiga's Telemetry - Variable to enable or disable the anonymous telemetry
|
||||
ENABLE_TELEMETRY=True
|
||||
|
||||
# COMPOSE_FILE="$COMPOSE_FILE:compose.email.yml"
|
||||
# Taiga's SMTP settings - Variables to send Taiga's emails to the users
|
||||
|
||||
# EMAIL_BACKEND=console # use an SMTP server or display the emails in the console (either "smtp" or "console")
|
||||
# EMAIL_HOST=smtp.host.example.com # SMTP server address
|
||||
# EMAIL_PORT=587 # default SMTP port
|
||||
# EMAIL_HOST_USER=user # user to connect the SMTP server
|
||||
# EMAIL_HOST_PASSWORD=password # SMTP user's password
|
||||
# EMAIL_DEFAULT_FROM=changeme@example.com # default email address for the automated emails
|
||||
# EMAIL_USE_TLS/EMAIL_USE_SSL are mutually exclusive (only set one of those to True)
|
||||
# EMAIL_USE_TLS=True # use TLS (secure) connection with the SMTP server
|
||||
# EMAIL_USE_SSL=False # use implicit TLS (secure) connection with the SMTP server
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
* **Category**: Apps
|
||||
* **Status**: 0
|
||||
* **Image**: [`taigaio`](https://hub.docker.com/u/taigaio), 6.9, upstream
|
||||
* **Image**: [`taigaio`](https://hub.docker.com/u/taigaio), 4, upstream
|
||||
* **Healthcheck**: No
|
||||
* **Backups**: No
|
||||
* **Email**: Yes
|
||||
@@ -20,9 +20,6 @@
|
||||
- `abra app new taiga --secrets`
|
||||
- `abra app config <app-name>`
|
||||
- `abra app deploy <app-name>`
|
||||
- Create the Django superuser
|
||||
- `abra app run <taiga-domain> taiga-back /create-superuser.sh`
|
||||
- Select the image that corresponds to `taiga-back` and NOT `taiga-back-async`
|
||||
- Your superuser should have the username `admin` and password `admin`
|
||||
- You can login to the admin interface. The username is `admin` and the password is the generated secret `django_password`
|
||||
|
||||
For more, see [`docs.coopcloud.tech`](https://docs.coopcloud.tech).
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
app:
|
||||
environment:
|
||||
- EMAIL_BACKEND=django.core.mail.backends.${EMAIL_BACKEND}.EmailBackend
|
||||
- EMAIL_DEFAULT_FROM
|
||||
- EMAIL_USE_TLS
|
||||
- EMAIL_USE_SSL
|
||||
- EMAIL_HOST
|
||||
- EMAIL_PORT
|
||||
- EMAIL_HOST_USER
|
||||
- EMAIL_HOST_PASSWORD
|
||||
app-async:
|
||||
environment:
|
||||
- EMAIL_BACKEND=django.core.mail.backends.${EMAIL_BACKEND}.EmailBackend
|
||||
- EMAIL_DEFAULT_FROM
|
||||
- EMAIL_USE_TLS
|
||||
- EMAIL_USE_SSL
|
||||
- EMAIL_HOST
|
||||
- EMAIL_PORT
|
||||
- EMAIL_HOST_USER
|
||||
- EMAIL_HOST_PASSWORD
|
||||
+24
-19
@@ -2,7 +2,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
db:
|
||||
image: postgres:12.3
|
||||
image: postgres:12.3@sha256:a06e6e6e519b7a329c419f8221edec66cfc45511e8b80e262c12103ba745cf19
|
||||
deploy:
|
||||
labels:
|
||||
backupbot.backup: "${ENABLE_BACKUPS:-true}"
|
||||
@@ -31,7 +31,7 @@ services:
|
||||
- internal
|
||||
|
||||
app-admin-init:
|
||||
image: taigaio/taiga-back:6.9.0
|
||||
image: taigaio/taiga-back:6.9.0@sha256:70ee08e4416c282437f55b5a5f48e8c3c10390022eac275999366728e227e961
|
||||
secrets:
|
||||
- taiga_secret
|
||||
- postgres_password
|
||||
@@ -42,16 +42,21 @@ services:
|
||||
target: /create-superuser.sh
|
||||
mode: 0555
|
||||
entrypoint: /create-superuser.sh
|
||||
env_file:
|
||||
- .env.sample
|
||||
environment:
|
||||
- POSTGRES_DB=taiga
|
||||
- POSTGRES_USER=taiga
|
||||
- POSTGRES_PASSWORD_FILE
|
||||
- POSTGRES_HOST=db
|
||||
- TAIGA_SECRET_KEY_FILE
|
||||
- SECRET_KEY_FILE=${TAIGA_SECRET_KEY_FILE}
|
||||
- TAIGA_SITES_SCHEME=https
|
||||
- TAIGA_SITES_DOMAIN=${DOMAIN}
|
||||
- TAIGA_SUBPATH
|
||||
- RABBITMQ_USER=taiga
|
||||
- RABBITMQ_PASS_FILE
|
||||
- DJANGO_SUPERUSER_USERNAME
|
||||
- DJANGO_SUPERUSER_PASSWORD_FILE
|
||||
- DJANGO_SUPERUSER_EMAIL
|
||||
networks:
|
||||
- internal
|
||||
deploy:
|
||||
@@ -60,14 +65,13 @@ services:
|
||||
condition: none
|
||||
|
||||
app:
|
||||
image: taigaio/taiga-back:6.9.0
|
||||
image: taigaio/taiga-back:6.9.0@sha256:70ee08e4416c282437f55b5a5f48e8c3c10390022eac275999366728e227e961
|
||||
secrets:
|
||||
- taiga_secret
|
||||
- postgres_password
|
||||
- rabbitmq_password
|
||||
env_file:
|
||||
- .env.sample
|
||||
environment:
|
||||
- RABBITMQ_PASS_FILE
|
||||
- POSTGRES_DB=taiga
|
||||
- POSTGRES_USER=taiga
|
||||
- POSTGRES_HOST=db
|
||||
@@ -92,7 +96,7 @@ services:
|
||||
failure_action: rollback
|
||||
order: start-first
|
||||
labels:
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.0+6.9.0"
|
||||
- "coop-cloud.${STACK_NAME}.version=0.1.1+6.9.0"
|
||||
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT}"
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "python -m http.client -c 'GET /api/v1/' -H 'Host: localhost' || exit 1"]
|
||||
@@ -103,7 +107,7 @@ services:
|
||||
|
||||
|
||||
app-async:
|
||||
image: taigaio/taiga-back:6.9.0
|
||||
image: taigaio/taiga-back:6.9.0@sha256:70ee08e4416c282437f55b5a5f48e8c3c10390022eac275999366728e227e961
|
||||
configs:
|
||||
- source: taiga_entrypoint
|
||||
target: /custom-entrypoint.sh
|
||||
@@ -114,9 +118,10 @@ services:
|
||||
- taiga_secret
|
||||
- postgres_password
|
||||
- rabbitmq_password
|
||||
env_file:
|
||||
- .env.sample
|
||||
environment:
|
||||
- TAIGA_SECRET_KEY_FILE
|
||||
- POSTGRES_PASSWORD_FILE
|
||||
- RABBITMQ_PASS_FILE
|
||||
- POSTGRES_DB=taiga
|
||||
- POSTGRES_USER=taiga
|
||||
- POSTGRES_HOST=db
|
||||
@@ -132,7 +137,7 @@ services:
|
||||
- internal
|
||||
|
||||
rabbitmq-async:
|
||||
image: rabbitmq:3.8-management-alpine
|
||||
image: rabbitmq:3.8-management-alpine@sha256:c3e526769bfd885c898d1132e1008b216800e8543619c30d5959b220285564ef
|
||||
secrets:
|
||||
- rabbitmq_password
|
||||
environment:
|
||||
@@ -153,7 +158,7 @@ services:
|
||||
start_period: 1m
|
||||
|
||||
taiga-front:
|
||||
image: taigaio/taiga-front:6.9.0
|
||||
image: taigaio/taiga-front:6.9.0@sha256:35e3345e2a0152e777543b1f5565fd4578804d39b57a4848fe41b723bcce5885
|
||||
environment:
|
||||
- TAIGA_URL=https://${DOMAIN}
|
||||
- TAIGA_WEBSOCKETS_URL=wss://${DOMAIN}
|
||||
@@ -161,7 +166,7 @@ services:
|
||||
- internal
|
||||
|
||||
events:
|
||||
image: taigaio/taiga-events:6.9.0
|
||||
image: taigaio/taiga-events:6.9.0@sha256:ebb0d8778707b5066d50f1e96be98ed0435e8cc89dfdc48b78ac2c1fdda914fe
|
||||
configs:
|
||||
- source: taiga_events_entrypoint
|
||||
target: /custom-entrypoint.sh
|
||||
@@ -170,10 +175,10 @@ services:
|
||||
secrets:
|
||||
- taiga_secret
|
||||
- rabbitmq_password
|
||||
env_file:
|
||||
- .env.sample
|
||||
environment:
|
||||
- RABBITMQ_USER=taiga
|
||||
- RABBITMQ_PASS_FILE
|
||||
- TAIGA_SECRET_KEY_FILE
|
||||
- ENTRYPOINT=/taiga-events/docker/entrypoint.sh
|
||||
networks:
|
||||
- internal
|
||||
@@ -184,7 +189,7 @@ services:
|
||||
retries: 5
|
||||
|
||||
rabbitmq:
|
||||
image: rabbitmq:3.8-management-alpine
|
||||
image: rabbitmq:3.8-management-alpine@sha256:c3e526769bfd885c898d1132e1008b216800e8543619c30d5959b220285564ef
|
||||
secrets:
|
||||
- rabbitmq_password
|
||||
environment:
|
||||
@@ -205,7 +210,7 @@ services:
|
||||
start_period: 1m
|
||||
|
||||
taiga-protected:
|
||||
image: taigaio/taiga-protected:6.9.0
|
||||
image: taigaio/taiga-protected:6.9.0@sha256:5f31fdb311431df45ceca4497abae05a312be9ca657564f20e164f825e9f1d5e
|
||||
configs:
|
||||
- source: taiga_entrypoint
|
||||
target: /custom-entrypoint.sh
|
||||
@@ -222,7 +227,7 @@ services:
|
||||
- internal
|
||||
|
||||
web:
|
||||
image: nginx:1.19-alpine
|
||||
image: nginx:1.19-alpine@sha256:07ab71a2c8e4ecb19a5a5abcfb3a4f175946c001c8af288b1aa766d67b0d05d2
|
||||
configs:
|
||||
- source: nginx_conf
|
||||
target: /etc/nginx/conf.d/default.conf
|
||||
|
||||
@@ -29,6 +29,8 @@ file_env() {
|
||||
file_env "POSTGRES_PASSWORD"
|
||||
file_env "RABBITMQ_PASS"
|
||||
file_env "TAIGA_SECRET_KEY"
|
||||
file_env "SECRET_KEY"
|
||||
|
||||
|
||||
echo "Waiting for Postgres..."
|
||||
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ file_env() {
|
||||
file_env "POSTGRES_PASSWORD"
|
||||
file_env "RABBITMQ_PASS"
|
||||
|
||||
# these two should be the same.. for some reason
|
||||
# these two should be the same
|
||||
# the naming is different in the services
|
||||
file_env "TAIGA_SECRET_KEY"
|
||||
file_env "SECRET_KEY"
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
Default to not using email compose as a part of app.
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": [
|
||||
"config:recommended"
|
||||
],
|
||||
"packageRules": [
|
||||
{
|
||||
"matchDatasources": [
|
||||
"docker"
|
||||
],
|
||||
"pinDigests": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user