chore: first release
continuous-integration/drone/push Build is failing Details

This commit is contained in:
decentral1se 2021-10-14 17:40:03 +02:00
parent 0d6184e7a4
commit 4b9b8e4bc0
1 changed files with 13 additions and 10 deletions

View File

@ -1,4 +1,6 @@
---
version: "3.8" version: "3.8"
x-configs: &default-configs x-configs: &default-configs
- source: config_json - source: config_json
target: /web/config.json target: /web/config.json
@ -8,6 +10,7 @@ x-configs: &default-configs
target: /app/alerta.conf target: /app/alerta.conf
- source: email_tmpl - source: email_tmpl
target: /app/email.tmpl target: /app/email.tmpl
x-secrets: &default-secrets x-secrets: &default-secrets
- cli_api_key - cli_api_key
- mailer_api_key - mailer_api_key
@ -15,6 +18,7 @@ x-secrets: &default-secrets
- rocket_chat_webhook_url - rocket_chat_webhook_url
- secret_key - secret_key
- smtp_password - smtp_password
x-environment: &default-env x-environment: &default-env
- ADMIN_USERS=${ADMIN_USERS} - ADMIN_USERS=${ADMIN_USERS}
- DB_HOST=db:27017 - DB_HOST=db:27017
@ -34,6 +38,7 @@ x-environment: &default-env
- SMTP_HOST=${SMTP_HOST} - SMTP_HOST=${SMTP_HOST}
- SMTP_PORT=${SMTP_PORT} - SMTP_PORT=${SMTP_PORT}
- SMTP_STARTTLS=${SMTP_STARTTLS} - SMTP_STARTTLS=${SMTP_STARTTLS}
services: services:
app: app:
image: "decentral1se/alerta:8.5.0" image: "decentral1se/alerta:8.5.0"
@ -50,10 +55,11 @@ services:
- "traefik.http.routers.alerta.entrypoints=web-secure" - "traefik.http.routers.alerta.entrypoints=web-secure"
- "traefik.http.services.alerta.loadbalancer.server.port=8080" - "traefik.http.services.alerta.loadbalancer.server.port=8080"
- "traefik.http.routers.alerta.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.alerta.tls.certresolver=${LETS_ENCRYPT_ENV}"
- coop-cloud.${STACK_NAME}.app.version=8.5.0-d1a9a145 - "coop-cloud.${STACK_NAME}.version=1.0.0+8.5.0"
networks: networks:
- proxy - proxy
- internal - internal
mail: mail:
image: "decentral1se/alerta:8.5.0" image: "decentral1se/alerta:8.5.0"
command: alerta-mailer command: alerta-mailer
@ -62,34 +68,30 @@ services:
secrets: *default-secrets secrets: *default-secrets
networks: networks:
- internal - internal
deploy:
labels:
- coop-cloud.${STACK_NAME}.mail.version=8.5.0-d1a9a145
db: db:
image: "mongo:3-xenial" image: "mongo:3-xenial"
volumes: volumes:
- "mongodb:/data/db" - "mongodb:/data/db"
networks: networks:
- internal - internal
deploy:
labels:
- coop-cloud.${STACK_NAME}.db.version=3-xenial-2ae2185d
queue: queue:
image: "redis:6" image: "redis:6"
volumes: volumes:
- "redis:/data" - "redis:/data"
networks: networks:
- internal - internal
deploy:
labels:
- coop-cloud.${STACK_NAME}.queue.version=6-e10f55f9
networks: networks:
internal: internal:
proxy: proxy:
external: true external: true
volumes: volumes:
mongodb: mongodb:
redis: redis:
configs: configs:
config_json: config_json:
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION} name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
@ -105,6 +107,7 @@ configs:
email_tmpl: email_tmpl:
name: ${STACK_NAME}_email_tmpl_${EMAIL_TMPL_VERSION} name: ${STACK_NAME}_email_tmpl_${EMAIL_TMPL_VERSION}
file: email.tmpl file: email.tmpl
secrets: secrets:
cli_api_key: cli_api_key:
name: ${STACK_NAME}_cli_api_key_${SECRET_CLI_API_KEY_VERSION} name: ${STACK_NAME}_cli_api_key_${SECRET_CLI_API_KEY_VERSION}