feat: init

This commit is contained in:
decentral1se 2021-11-30 12:35:37 +01:00
parent 58acd0bcfd
commit 2080125b3a
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
2 changed files with 25 additions and 18 deletions

View File

@ -1,17 +1,18 @@
# calibre-web # calibre-web
TODO > Calibre-Web is a web app providing a clean interface for browsing, reading
> and downloading eBooks using an existing Calibre database.
<!-- metadata --> <!-- metadata -->
* **Category**: - **Category**:
* **Status**: - **Status**:
* **Image**: - **Image**: [linuxserver/calibre-web](https://hub.docker.com/r/linuxserver/calibre-web)
* **Healthcheck**: - **Healthcheck**:
* **Backups**: - **Backups**:
* **Email**: - **Email**:
* **Tests**: - **Tests**:
* **SSO**: - **SSO**:
<!-- endmetadata --> <!-- endmetadata -->
@ -28,4 +29,3 @@ TODO
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra [`abra`]: https://git.coopcloud.tech/coop-cloud/abra
[`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik [`coop-cloud/traefik`]: https://git.coopcloud.tech/coop-cloud/traefik
cloud/traefik

View File

@ -3,7 +3,15 @@ version: "3.8"
services: services:
app: app:
image: nginx:1.19.2 image: "lscr.io/linuxserver/calibre-web:0.6.14"
environment:
- DOCKER_MODS=linuxserver/calibre-web:calibre
- OAUTHLIB_RELAX_TOKEN_SCOPE=1
- PGID=1000
- PUID=1000
- TZ=Europe/London
volumes:
- books:/books
networks: networks:
- proxy - proxy
deploy: deploy:
@ -11,16 +19,12 @@ services:
condition: on-failure condition: on-failure
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8083"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})" - "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure" - "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}" - "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
## Redirect from EXTRA_DOMAINS to DOMAIN
#- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost"] test: ["CMD", "curl", "-f", "http://localhost:8083"]
interval: 30s interval: 30s
timeout: 10s timeout: 10s
retries: 10 retries: 10
@ -29,3 +33,6 @@ services:
networks: networks:
proxy: proxy:
external: true external: true
volumes:
books: