25 lines
No EOL
990 B
YAML
25 lines
No EOL
990 B
YAML
baikal:
|
|
image: ckulka/baikal:${BAIKAL_VERSION:-0.10.1-nginx}
|
|
container_name: baikal
|
|
restart: always
|
|
networks:
|
|
- traefik
|
|
volumes:
|
|
- ./data/config:/var/www/baikal/config
|
|
- ./data/baikal-data:/var/www/baikal/Specific
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik"
|
|
- "traefik.http.routers.baikal.entrypoints=http"
|
|
- "traefik.http.routers.baikal.rule=Host(`${BAIKAL_DOMAIN:?error}`)"
|
|
- "traefik.http.middlewares.baikal-https-redirect.redirectscheme.scheme=https"
|
|
- "traefik.http.routers.baikal.middlewares=caldav-https-redirect"
|
|
- "traefik.http.routers.baikal-secure.entrypoints=https"
|
|
- "traefik.http.routers.baikal-secure.rule=Host(`${BAIKAL_DOMAIN:?error}`)"
|
|
- "traefik.http.routers.baikal-secure.tls=true"
|
|
- "traefik.http.routers.baikal-secure.service=baikal"
|
|
- "traefik.http.services.baikal.loadbalancer.server.port=80"
|
|
|
|
networks:
|
|
traefik:
|
|
external: true |