infrastructure/ansible/roles/pve_docker/files/calibre/docker-compose.yml
Jake Howard d5c7d94ac8
Run traefik as dockeruser, and without host networking
This required port forwarding, a docker proxy, and a docker network, but the end result should be much more secure!
2022-01-15 23:44:06 +00:00

22 lines
523 B
YAML

version: "2.3"
services:
calibre:
image: lscr.io/linuxserver/calibre-web:latest
environment:
- PUID={{ docker_user.id }}
- PGID={{ docker_user.id }}
- TZ={{ timezone }}
restart: unless-stopped
volumes:
- /mnt/tank/app-data/calibre:/config
- /mnt/tank/files/ebooks:/books:ro
labels:
- traefik.enable=true
- traefik.http.routers.calibre.rule=Host(`calibre.jakehoward.tech`)
networks:
- default
- traefik
networks:
traefik:
external: true