From 053ab4e4a8f6d627e76d8cd6719edb9cf036bbd8 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Mon, 5 Apr 2021 01:06:47 +0200 Subject: [PATCH] Version 4.2.0; sync labels --- compose.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/compose.yml b/compose.yml index c3a570f..ffe16df 100644 --- a/compose.yml +++ b/compose.yml @@ -1,13 +1,13 @@ ---- version: "3.8" - services: app: image: 3wordchant/pelican:4.2.0 volumes: - src:/site - output:/site-generated - + deploy: + labels: + - coop-cloud.${STACK_NAME}.app.version=4.2.0-987f0a1a web: image: httpd:2.4 volumes: @@ -16,6 +16,10 @@ services: - proxy command: > bash -c + + + + " sed -i '/LoadModule rewrite_module/s/^#//g' /usr/local/apache2/conf/httpd.conf && sed -i 's#AllowOverride [Nn]one#AllowOverride All#' /usr/local/apache2/conf/httpd.conf && @@ -33,11 +37,10 @@ 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}.web.version=2.4-31ee85db volumes: src: output: - networks: proxy: external: true