mirror of
https://github.com/MSWS/Homelab.git
synced 2025-12-05 23:00:24 -08:00
- Add `container_name` properties to `cf-tunnel/compose.yml` for improved container identification and management - Update and add `container_name` properties in `calibre/compose.yml` to enhance clarity and organization [cf-tunnel/compose.yml] - Added `container_name` properties for both services (`cf-tunnel-public` and `cf-tunnel-internal`), likely for easier identification and management of the containers. [calibre/compose.yml] - Updated `container_name` for `calibre-web-automated` to `calibre-interface`, possibly to better reflect its purpose or clarify its role in the system. - Added `container_name` for `calibre-web-automated-book-downloader` as `calibre-downloader`, introducing clearer identification for the container. No major functional changes were introduced, but naming adjustments likely aim to improve readability or organization.
56 lines
2.0 KiB
YAML
56 lines
2.0 KiB
YAML
services:
|
|
calibre-web-automated:
|
|
image: crocodilestick/calibre-web-automated:latest
|
|
container_name: calibre-interface
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
# Edit to match your current timezone https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
- TZ=America/Los_Angeles
|
|
volumes:
|
|
# CW users migrating should stop their existing CW instance, make a copy of the config folder, and bind that here to carry over all of their user settings ect.
|
|
- $PWD/config:/config
|
|
# This is an ingest dir, NOT a library one. Anything added here will be automatically added to your library according to the settings you have configured in CWA Settings page. All files placed here are REMOVED AFTER PROCESSING
|
|
- calibre-downloads:/cwa-book-ingest
|
|
# If you don't have an existing library, CWA will automatically create one at the bind provided here
|
|
- $PWD/library:/calibre-library
|
|
- /app/calibre-web/gmail.json
|
|
# ports:
|
|
# Change the first number to change the port you want to access the Web UI, not the second
|
|
# - 8083:8083
|
|
restart: unless-stopped
|
|
networks:
|
|
- cloudflared
|
|
|
|
calibre-web-automated-book-downloader:
|
|
image: ghcr.io/calibrain/calibre-web-automated-book-downloader:latest
|
|
container_name: calibre-downloader
|
|
environment:
|
|
FLASK_PORT: 8084
|
|
FLASK_DEBUG: false
|
|
BOOK_LANGUAGE: en
|
|
SUPPORTED_FORMATS: epub
|
|
#ports:
|
|
# - 8084:8084
|
|
# Uncomment the following lines if you want to enable healthcheck
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8084/request/api/status"]
|
|
interval: 30s
|
|
timeout: 30s
|
|
retries: 3
|
|
start_period: 5s
|
|
restart: unless-stopped
|
|
volumes:
|
|
# This is where the books will be downloaded to, usually it would be
|
|
# the same as whatever you gave in "calibre-web-automated"
|
|
- calibre-downloads:/cwa-book-ingest
|
|
networks:
|
|
- cloudflared
|
|
|
|
volumes:
|
|
calibre-downloads:
|
|
|
|
networks:
|
|
cloudflared:
|
|
external: true
|