calibre-web/compose.yml

39 lines
896 B
YAML

---
version: "3.8"
services:
app:
image: "lscr.io/linuxserver/calibre-web:0.6.14"
environment:
- DOCKER_MODS
- OAUTHLIB_RELAX_TOKEN_SCOPE
- PGID=1000
- PUID=1000
- TZ
volumes:
- books:/books
networks:
- proxy
deploy:
restart_policy:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8083"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8083"]
interval: 30s
timeout: 10s
retries: 10
start_period: 1m
networks:
proxy:
external: true
volumes:
books: