From ec4dbb56b4a1ebf9c0c1afd071182496966c6221 Mon Sep 17 00:00:00 2001 From: decentral1se Date: Tue, 16 Mar 2021 09:27:32 +0100 Subject: [PATCH] Add versions for mediawiki --- abra.sh | 12 ++++++++++++ compose.simplesaml.yml | 1 + compose.yml | 7 +++++++ 3 files changed, 20 insertions(+) diff --git a/abra.sh b/abra.sh index 04e4e12..daa004d 100644 --- a/abra.sh +++ b/abra.sh @@ -1,3 +1,15 @@ +export ABRA_TYPE_APP_VERSION=1.35.1 +export ABRA_TYPE_APP_DIGEST=feec478f + +export ABRA_TYPE_DB_VERSION=10.5 +export ABRA_TYPE_DB_DIGEST=e27cf5bc + +export ABRA_TYPE_PARSOID_VERSION=0.11.0 +export ABRA_TYPE_PARSOID_DIGEST=585a3c3f + +export ABRA_TYPE_SIMPLESAML_VERSION=latest +export ABRA_TYPE_SIMPLESAML_DIGEST=ef10ef81 + export LOCAL_SETTINGS_CONF_VERSION=v1 export HTACCESS_CONF_VERSION=v1 export ENTRYPOINT_CONF_VERSION=v2 diff --git a/compose.simplesaml.yml b/compose.simplesaml.yml index 5eef8c5..abf40ce 100644 --- a/compose.simplesaml.yml +++ b/compose.simplesaml.yml @@ -59,6 +59,7 @@ services: - "traefik.http.routers.${STACK_NAME}_simplesaml.rule=(Host(`${DOMAIN}`) && PathPrefix(`/simplesaml`))" - "traefik.http.routers.${STACK_NAME}_simplesaml.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}_simplesaml.tls.certresolver=${LETS_ENCRYPT_ENV}" + - "coop-cloud.${STACK_NAME}.simplesaml.version=${ABRA_TYPE_SIMPLESAML_VERSION}-${ABRA_TYPE_SIMPLESAML_DIGEST}" volumes: simplesaml: diff --git a/compose.yml b/compose.yml index 643058e..e047285 100644 --- a/compose.yml +++ b/compose.yml @@ -43,6 +43,7 @@ services: - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" + - "coop-cloud.${STACK_NAME}.app.version=${ABRA_TYPE_APP_VERSION}-${ABRA_TYPE_APP_DIGEST}" entrypoint: /docker-entrypoint2.sh db: @@ -59,6 +60,9 @@ services: - db_password networks: - internal + deploy: + labels: + - "coop-cloud.${STACK_NAME}.db.version=${ABRA_TYPE_DB_VERSION}-${ABRA_TYPE_DB_DIGEST}" parsoid: image: thenets/parsoid:0.11.0 @@ -67,6 +71,9 @@ services: - internal environment: PARSOID_DOMAIN_localhost: http://app:80/api.php + deploy: + labels: + - "coop-cloud.${STACK_NAME}.parsoid.version=${ABRA_TYPE_PARSOID_VERSION}-${ABRA_TYPE_PARSOID_DIGEST}" volumes: mariadb: