chore: first release
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
0d6184e7a4
commit
4b9b8e4bc0
23
compose.yml
23
compose.yml
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
x-configs: &default-configs
|
||||
- source: config_json
|
||||
target: /web/config.json
|
||||
|
@ -8,6 +10,7 @@ x-configs: &default-configs
|
|||
target: /app/alerta.conf
|
||||
- source: email_tmpl
|
||||
target: /app/email.tmpl
|
||||
|
||||
x-secrets: &default-secrets
|
||||
- cli_api_key
|
||||
- mailer_api_key
|
||||
|
@ -15,6 +18,7 @@ x-secrets: &default-secrets
|
|||
- rocket_chat_webhook_url
|
||||
- secret_key
|
||||
- smtp_password
|
||||
|
||||
x-environment: &default-env
|
||||
- ADMIN_USERS=${ADMIN_USERS}
|
||||
- DB_HOST=db:27017
|
||||
|
@ -34,6 +38,7 @@ x-environment: &default-env
|
|||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_STARTTLS=${SMTP_STARTTLS}
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "decentral1se/alerta:8.5.0"
|
||||
|
@ -50,10 +55,11 @@ services:
|
|||
- "traefik.http.routers.alerta.entrypoints=web-secure"
|
||||
- "traefik.http.services.alerta.loadbalancer.server.port=8080"
|
||||
- "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:
|
||||
- proxy
|
||||
- internal
|
||||
|
||||
mail:
|
||||
image: "decentral1se/alerta:8.5.0"
|
||||
command: alerta-mailer
|
||||
|
@ -62,34 +68,30 @@ services:
|
|||
secrets: *default-secrets
|
||||
networks:
|
||||
- internal
|
||||
deploy:
|
||||
labels:
|
||||
- coop-cloud.${STACK_NAME}.mail.version=8.5.0-d1a9a145
|
||||
|
||||
db:
|
||||
image: "mongo:3-xenial"
|
||||
volumes:
|
||||
- "mongodb:/data/db"
|
||||
networks:
|
||||
- internal
|
||||
deploy:
|
||||
labels:
|
||||
- coop-cloud.${STACK_NAME}.db.version=3-xenial-2ae2185d
|
||||
|
||||
queue:
|
||||
image: "redis:6"
|
||||
volumes:
|
||||
- "redis:/data"
|
||||
networks:
|
||||
- internal
|
||||
deploy:
|
||||
labels:
|
||||
- coop-cloud.${STACK_NAME}.queue.version=6-e10f55f9
|
||||
|
||||
networks:
|
||||
internal:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
mongodb:
|
||||
redis:
|
||||
|
||||
configs:
|
||||
config_json:
|
||||
name: ${STACK_NAME}_config_json_${CONFIG_JSON_VERSION}
|
||||
|
@ -105,6 +107,7 @@ configs:
|
|||
email_tmpl:
|
||||
name: ${STACK_NAME}_email_tmpl_${EMAIL_TMPL_VERSION}
|
||||
file: email.tmpl
|
||||
|
||||
secrets:
|
||||
cli_api_key:
|
||||
name: ${STACK_NAME}_cli_api_key_${SECRET_CLI_API_KEY_VERSION}
|
||||
|
|
Loading…
Reference in New Issue