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

View File

@ -3,7 +3,15 @@ version: "3.8"
services:
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:
- proxy
deploy:
@ -11,16 +19,12 @@ services:
condition: on-failure
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=8083"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "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:
test: ["CMD", "curl", "-f", "http://localhost"]
test: ["CMD", "curl", "-f", "http://localhost:8083"]
interval: 30s
timeout: 10s
retries: 10
@ -29,3 +33,6 @@ services:
networks:
proxy:
external: true
volumes:
books: