mirror of
https://github.com/ChristianLempa/boilerplates.git
synced 2024-11-22 08:13:18 +01:00
authelia and whoami update
This commit is contained in:
parent
6739050ff9
commit
d0e48d571d
@ -0,0 +1 @@
|
|||||||
|
# TODO: ...
|
1
docker-compose/authelia/config/configuration.yml
Normal file
1
docker-compose/authelia/config/configuration.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
# TODO: ...
|
@ -1,5 +1,9 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
authelia:
|
authelia:
|
||||||
image: authelia/authelia
|
image: authelia/authelia
|
||||||
@ -8,11 +12,10 @@ services:
|
|||||||
- /etc/authelia:/config
|
- /etc/authelia:/config
|
||||||
labels:
|
labels:
|
||||||
- 'traefik.enable=true'
|
- 'traefik.enable=true'
|
||||||
- 'traefik.http.routers.authelia.rule=Host(`authelia.example.com`)'
|
- 'traefik.http.routers.authelia.rule=Host(`your-domain.com`)'
|
||||||
- 'traefik.http.routers.authelia.entrypoints=https'
|
- 'traefik.http.routers.authelia.entrypoints=websecure'
|
||||||
- 'traefik.http.routers.authelia.tls=true'
|
- 'traefik.http.routers.authelia.tls=true'
|
||||||
# - 'traefik.http.routers.authelia.tls.certresolver=letsencrypt'
|
- 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://your-domain.com' # yamllint disable-line rule:line-length
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.address=http://authelia:9091/api/verify?rd=https://authelia.example.com' # yamllint disable-line rule:line-length
|
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true'
|
- 'traefik.http.middlewares.authelia.forwardauth.trustForwardHeader=true'
|
||||||
- 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' # yamllint disable-line rule:line-length
|
- 'traefik.http.middlewares.authelia.forwardauth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Name,Remote-Email' # yamllint disable-line rule:line-length
|
||||||
expose:
|
expose:
|
||||||
@ -20,3 +23,4 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
healthcheck:
|
healthcheck:
|
||||||
disable: true
|
disable: true
|
||||||
|
|
||||||
|
1
docker-compose/whoami/README.md
Normal file
1
docker-compose/whoami/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# TODO: ...
|
18
docker-compose/whoami/docker-compose.yml
Normal file
18
docker-compose/whoami/docker-compose.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
version: '3'
|
||||||
|
|
||||||
|
networks:
|
||||||
|
frontend:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
services:
|
||||||
|
whoami:
|
||||||
|
image: traefik/whoami
|
||||||
|
container_name: whoami
|
||||||
|
networks:
|
||||||
|
- frontend
|
||||||
|
labels:
|
||||||
|
- 'traefik.enable=true'
|
||||||
|
- 'traefik.http.routers.public.rule=Host(`your-domain.com`)'
|
||||||
|
- 'traefik.http.routers.public.entrypoints=websecure'
|
||||||
|
- 'traefik.http.routers.public.tls=true'
|
||||||
|
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user