Version 4.2.0; sync labels

This commit is contained in:
3wc 2021-04-05 01:06:47 +02:00
parent 5feca327e6
commit 053ab4e4a8
1 changed files with 8 additions and 5 deletions

View File

@ -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