Version 8.5.0; sync labels
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d9a70bca03
commit
cc99204303
22
compose.yml
22
compose.yml
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
version: "3.8"
|
||||
|
||||
x-configs: &default-configs
|
||||
- source: config_json
|
||||
target: /web/config.json
|
||||
|
@ -10,7 +8,6 @@ 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
|
||||
|
@ -18,7 +15,6 @@ x-secrets: &default-secrets
|
|||
- rocket_chat_webhook_url
|
||||
- secret_key
|
||||
- smtp_password
|
||||
|
||||
x-environment: &default-env
|
||||
- ADMIN_USERS=${ADMIN_USERS}
|
||||
- DB_HOST=db:27017
|
||||
|
@ -38,7 +34,6 @@ x-environment: &default-env
|
|||
- SMTP_HOST=${SMTP_HOST}
|
||||
- SMTP_PORT=${SMTP_PORT}
|
||||
- SMTP_STARTTLS=${SMTP_STARTTLS}
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "decentral1se/alerta:8.5.0"
|
||||
|
@ -55,10 +50,10 @@ 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
|
||||
networks:
|
||||
- proxy
|
||||
- internal
|
||||
|
||||
mail:
|
||||
image: "decentral1se/alerta:8.5.0"
|
||||
command: alerta-mailer
|
||||
|
@ -67,30 +62,34 @@ 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}
|
||||
|
@ -106,7 +105,6 @@ 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