feat: init
This commit is contained in:
parent
58acd0bcfd
commit
2080125b3a
20
README.md
20
README.md
|
@ -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
|
||||
|
|
23
compose.yml
23
compose.yml
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue