mirror of
https://github.com/TerrifiedBug/komodo-stacks.git
synced 2026-11-11 14:27:27 +01:00
Repository: admin/cwa Timestamp: 2025-04-28_12-34-10 Target directory: projects/cwa
62 lines
2.1 KiB
YAML
62 lines
2.1 KiB
YAML
version: "3.8"
|
|
services:
|
|
gluetun-cwa:
|
|
image: qmcgaw/gluetun
|
|
container_name: gluetun-cwa
|
|
cap_add:
|
|
- NET_ADMIN
|
|
devices:
|
|
- /dev/net/tun:/dev/net/tun
|
|
ports:
|
|
- 8069:8084
|
|
volumes:
|
|
- ./gluetun:/gluetun
|
|
- ./gluetun/auth/config.toml:/gluetun/auth/config.toml:ro
|
|
environment:
|
|
- VPN_SERVICE_PROVIDER=nordvpn
|
|
- HTTP_CONTROL_SERVER_AUTH_CONFIG_FILEPATH=/gluetun/auth/config.toml
|
|
- VPN_TYPE=wireguard
|
|
- WIREGUARD_PRIVATE_KEY=${WIREGUARD_PRIVATE_KEY}
|
|
- WIREGUARD_ADDRESSES=10.5.0.2/32
|
|
- SERVER_COUNTRIES='United Kingdom"
|
|
- UPDATER_PERIOD=24h
|
|
restart: unless-stopped
|
|
|
|
calibre-web-automated:
|
|
image: crocodilestick/calibre-web-automated:latest
|
|
container_name: cwa
|
|
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.
|
|
- ./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
|
|
- ./cwa-book-ingest:/cwa-book-ingest
|
|
# If you don't have an existing library, CWA will automatically create one at the bind provided here
|
|
- ./calibre-library:/calibre-library
|
|
ports:
|
|
- 8060:8083
|
|
restart: unless-stopped
|
|
|
|
calibre-web-automated-book-downloader:
|
|
image: ghcr.io/calibrain/calibre-web-automated-book-downloader:latest
|
|
container_name: cwa-downloader
|
|
network_mode: service:gluetun-cwa
|
|
depends_on:
|
|
- gluetun-cwa
|
|
environment:
|
|
- FLASK_PORT=8084
|
|
- LOG_LEVEL=info
|
|
- BOOK_LANGUAGE=en
|
|
- USE_BOOK_TITLE=true
|
|
- TZ=Europe/London
|
|
- APP_ENV=prod
|
|
- UID=1000
|
|
- GID=100
|
|
healthcheck:
|
|
test: [ "CMD", "ping", "-c", "1", "www.google.com" ]
|
|
interval: 60s
|
|
retries: 3
|
|
start_period: 20s
|
|
timeout: 10s
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./cwa-book-ingest:/cwa-book-ingest |