From 47281ec8a52c262015dac2973b20d657dc5faeea Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Mon, 5 Apr 2021 11:40:39 +0200 Subject: [PATCH] Version r1070; sync labels --- compose.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/compose.yml b/compose.yml index aafe52a..70f38d9 100644 --- a/compose.yml +++ b/compose.yml @@ -1,6 +1,4 @@ ---- version: "3.8" - services: app: #image: terrestris/projectsend:r1295 @@ -36,13 +34,13 @@ 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=version-r1070-c83960a0 healthcheck: test: ["CMD", "curl", "-f", "http://localhost"] interval: 30s timeout: 10s retries: 10 start_period: 1m - db: image: "mariadb:10.5" command: | @@ -59,12 +57,13 @@ services: - "mariadb:/var/lib/mysql" networks: - internal - + deploy: + labels: + - coop-cloud.${STACK_NAME}.db.version=10.5-9c681cef networks: internal: proxy: external: true - secrets: db_password: name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION} @@ -72,7 +71,6 @@ secrets: db_root_password: name: ${STACK_NAME}_db_root_password_${SECRET_DB_ROOT_PASSWORD_VERSION} external: true - volumes: mariadb: projectsend_data: