Skip to content

Commit

Permalink
feat(calibre): set authelia authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
borjapazr committed Sep 11, 2023
1 parent 96aa2c5 commit 599d4f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions services/calibre-web/.env.template
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ VOLUME_DIR=
## Domain settings ##
DOMAIN=

## Application settings ##
LOGOUT_REDIRECT_URL=

## Timezone configuration ##
PUID=
PGID=
Expand Down
4 changes: 4 additions & 0 deletions services/calibre-web/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ services:
# Set HTTPS domain #
- traefik.http.routers.calibre-secure.rule=Host(`${DOMAIN}`)
- traefik.http.routers.calibre-secure.entrypoints=websecure
- traefik.http.routers.calibre-secure.middlewares=calibre-logout,authelia@docker
- traefik.http.middlewares.calibre-logout.redirectregex.regex=https://${DOMAIN}/logout
- traefik.http.middlewares.calibre-logout.redirectregex.replacement=${LOGOUT_REDIRECT_URL}
- traefik.http.middlewares.calibre-logout.redirectregex.permanent=true

networks:
default:
Expand Down

0 comments on commit 599d4f2

Please sign in to comment.