infrastructure/ansible/roles/docker/files/calibre/docker-compose.yml

19 lines
570 B
Docker
Raw Normal View History

2020-02-05 20:37:01 +00:00
version: "2"
services:
calibre:
2020-02-24 08:51:03 +00:00
image: linuxserver/calibre-web:0.6.6-ls51
2020-02-05 20:37:01 +00:00
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"