Add labels
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2021-03-16 07:37:28 +01:00
parent 11b1f21c5a
commit b0e7372483
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
- "coop-cloud.${STACK_NAME}.app.version=${ABRA_TYPE_APP_VERSION}-${ABRA_TYPE_APP_DIGEST}"
db:
image: "mariadb:10.5"
@ -55,6 +56,9 @@ services:
- "mariadb:/var/lib/mysql"
networks:
- internal
deploy:
labels:
- "coop-cloud.${STACK_NAME}.db.version=${ABRA_TYPE_DB_VERSION}-${ABRA_TYPE_DB_DIGEST}"
networks:
internal: