Compare commits

..

5 Commits

Author SHA1 Message Date
3wc
20067dbe93 Don't clobber Traefik's service name for SSO 2021-11-23 12:21:11 +02:00
3wc
3d447a72c8 Goodbye, emojis! 😢
[ci skip]
2021-11-23 12:19:04 +02:00
3wc
0a04bae1f5 WIP: traefik-forward-auth/keycloak support 2021-11-21 21:47:35 +02:00
888fa11631 fix: ensure that this default conf file is set 2021-10-12 09:50:56 +02:00
7bfaa478a1 chore: new v1.21 release 2021-10-12 09:23:47 +02:00
4 changed files with 20 additions and 5 deletions

View File

@ -4,3 +4,8 @@ DOMAIN=custom-html.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.custom-html.example.com`'
LETS_ENCRYPT_ENV=production
COMPOSE_FILE="compose.yml"
# Single Sign On via Traefik "file provider"
#COMPOSE_FILE="$COMPOSE_FILE:compose.sso.yml"

View File

@ -4,12 +4,12 @@ Custom HTML website, served using Nginx.
<!-- metadata -->
* **Category**: Apps
* **Status**: ❷💛
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), ❶💚, upstream
* **Status**: 2, beta
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), 4, upstream
* **Healthcheck**: No
* **Backups**: No
* **Email**: N/A
* **Tests**: ❷💛
* **Tests**: 2
* **SSO**: No
<!-- endmetadata -->

8
compose.sso.yml Normal file
View File

@ -0,0 +1,8 @@
version: "3.8"
services:
app:
environment:
- TFA_MIDDLEWARE_NAME
deploy:
labels:
- "traefik.http.routers.${STACK_NAME}.middlewares=${TFA_MIDDLEWARE_NAME}@file"

View File

@ -3,7 +3,7 @@ version: "3.8"
services:
app:
image: nginx:1.19.2
image: nginx:1.21.3
networks:
- proxy
deploy:
@ -19,7 +19,9 @@ 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}.version=1.0.0+1.19.2"
- "coop-cloud.${STACK_NAME}.version=1.1.0+1.21.3"
environment:
DEFAULT_CONF_FILE: /etc/nginx/conf.d/default.conf
volumes:
- content:/usr/share/nginx/html
configs: