Jafner.net/homelab/fighter/config/calibre-web/docker-compose.yml

40 lines
1.1 KiB
YAML

version: '3.9'
services:
calibre-web-rpg:
image: linuxserver/calibre-web@sha256:ca8c438ec0d12dedfd633a9aa4ee4e0be81641df5ad73b913f68197e047e4306
container_name: calibre-web_rpg
env_file:
- path: ./calibre-web.env
required: true
volumes:
- calibre-web-rpg_data:/config
- $LIBRARY_DIR/rpg:/books
labels:
- traefik.http.routers.calibre-rpg.rule=Host(`rpg.calibre.jafner.net`)
- traefik.http.routers.calibre-rpg.tls.certresolver=lets-encrypt
networks:
- web
calibre-web-sff:
image: linuxserver/calibre-web@sha256:ca8c438ec0d12dedfd633a9aa4ee4e0be81641df5ad73b913f68197e047e4306
container_name: calibre-web_sff
env_file:
- path: ./calibre-web.env
required: true
volumes:
- calibre-web-sff_data:/config
- $LIBRARY_DIR/sff:/books
labels:
- traefik.http.routers.calibre-sff.rule=Host(`sff.calibre.jafner.net`)
- traefik.http.routers.calibre-sff.tls.certresolver=lets-encrypt
networks:
- web
networks:
web:
external: true
volumes:
calibre-web-rpg_data:
calibre-web-sff_data: