forked from ethibox/awesome-stacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalibre.yml
33 lines (30 loc) · 975 Bytes
/
calibre.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# DOMAIN=example.com docker stack deploy -c calibre.yml calibre
services:
calibre:
image: linuxserver/calibre-web:${VERSION:-latest}
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
- DOCKER_MODS=linuxserver/calibre-web:calibre
deploy:
labels:
- traefik.enable=true
- traefik.http.routers.calibre-${NUMBER:-1}.rule=Host(`${DOMAIN:-calibre.localhost}`)
- traefik.http.routers.calibre-${NUMBER:-1}.entrypoints=${SCHEME:-https}
- traefik.http.routers.calibre-${NUMBER:-1}.service=calibre-${NUMBER:-1}
- traefik.http.routers.calibre-${NUMBER:-1}.tls.certresolver=letsencrypt
- traefik.http.services.calibre-${NUMBER:-1}.loadbalancer.server.port=8083
volumes:
- ${VOLUME_PATH}config:/config
- ${VOLUME_PATH}books:/books
volumes:
config:
books:
networks:
internal:
driver: overlay
attachable: true
default:
external: true
name: traefik-net