infrastructure/ansible/roles/intersect-docker/files/calibre/docker-compose.yml
2020-05-05 22:30:03 +01:00

18 lines
572 B
YAML

version: "2.3"
services:
calibre:
image: linuxserver/calibre-web:0.6.7-ls60
container_name: calibre
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ=Europe/London
restart: unless-stopped
volumes:
- ./config:/config
- /srv/nextcloud-data/data/jake/files/EBooks:/books:ro
labels:
- "traefik.enable=true"
- "traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)"
- "traefik.http.routers.calibre.tls=true"
- "traefik.http.routers.calibre.tls.certresolver=le"