mirror of
https://github.com/atareao/self-hosted.git
synced 2024-09-24 00:00:09 +02:00
21 lines
757 B
YAML
21 lines
757 B
YAML
version: "3"
|
|
services:
|
|
bookstack:
|
|
networks:
|
|
- proxy
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.services.bookstack.loadbalancer.server.port=80
|
|
- traefik.http.routers.bookstack.entrypoints=web
|
|
- traefik.http.routers.bookstack.rule=Host(`${FQDN}`)
|
|
- traefik.http.middlewares.bookstack-https-redirect.redirectscheme.scheme=websecure
|
|
- traefik.http.routers.bookstack.middlewares=bookstack-https-redirect
|
|
- traefik.http.routers.bookstack-secure.entrypoints=websecure
|
|
- traefik.http.routers.bookstack-secure.rule=Host(`${FQDN}`)
|
|
- traefik.http.routers.bookstack-secure.tls=true
|
|
- traefik.http.routers.bookstack-secure.tls.certresolver=letsencrypt
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|