first commit
This commit is contained in:
37
docker-compose.yml
Normal file
37
docker-compose.yml
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
version: "2.1"
|
||||
services:
|
||||
calibre-web:
|
||||
image: lscr.io/linuxserver/calibre-web:latest
|
||||
container_name: calibre-web
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=${UID}
|
||||
- PGID=${GID}
|
||||
- TZ=${TZ}
|
||||
# - DOCKER_MODS=linuxserver/mods:universal-calibre #only x64
|
||||
# - OAUTHLIB_RELAX_TOKEN_SCOPE=1 #for google o-auth
|
||||
volumes:
|
||||
- ./data:/config
|
||||
- ./library:/books
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
# Traefik Labels
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
- "traefik.http.routers.calibre.entrypoints=http"
|
||||
- "traefik.http.routers.calibre.rule=Host(`read.local.zernis.ch`)"
|
||||
- "traefik.http.middlewares.calibre-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.calibre.middlewares=calibre-https-redirect"
|
||||
- "traefik.http.routers.calibre-secure.entrypoints=https"
|
||||
- "traefik.http.routers.calibre-secure.rule=Host(`read.local.zernis.ch`)"
|
||||
- "traefik.http.routers.calibre-secure.tls=true"
|
||||
- "traefik.http.routers.calibre-secure.service=calibre"
|
||||
- "traefik.http.services.calibre.loadbalancer.server.port=8083"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user