- docs/deployment.md: step-by-step Docker deployment for anyone (setup, configuration, LAN/HTTPS/VPN access, adding manga, operation, prebuilt images, backups, peering, troubleshooting, rules for agents). - deploy/circus.sh: host helper without Node (status, up/down with queue pause, logs, pause/resume, update, rescan, restore-test); deploy/compose.https.yml + Caddyfile for automatic HTTPS. - README rewritten for public readers (Docker first, sources/copyright note, docs index); AGENTS.md + CLAUDE.md for contributors and coding agents. - Removed notes about one particular installation (Windows host, handoffs, audits of a private library, benchmarks with local paths, wishlist, reading map) and the unused ops/proxmox templates; generalized remaining mentions of hosts, VPN and Windows-only commands. - Defaults: TZ and reading time zone UTC; .gitattributes keeps shell/YAML LF. - Personal agent coordination files are git-ignored (CLAUDE.local.md, .claude/skills/manga-org/). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
903 B
YAML
28 lines
903 B
YAML
# HTTPS in front of the reader with Caddy and automatic Let's Encrypt certificates.
|
|
# Needs a DNS name for this host (MANGACIRCUS_DOMAIN in .env) and ports 80 and 443 reachable
|
|
# from the internet. Use it with the main file, e.g. in .env:
|
|
# COMPOSE_FILE=docker-compose.yml:deploy/compose.https.yml
|
|
# Already running a reverse proxy? Skip this file and see docs/deployment.md, "Your own proxy".
|
|
services:
|
|
reader:
|
|
ports: !reset []
|
|
environment:
|
|
COOKIE_SECURE: "1"
|
|
|
|
caddy:
|
|
image: caddy:2.8.4-alpine
|
|
restart: unless-stopped
|
|
ports: ["80:80", "443:443", "443:443/udp"]
|
|
environment:
|
|
MANGACIRCUS_DOMAIN: ${MANGACIRCUS_DOMAIN:?Set MANGACIRCUS_DOMAIN in .env}
|
|
volumes:
|
|
- ./deploy/Caddyfile:/etc/caddy/Caddyfile:ro
|
|
- caddy-data:/data
|
|
- caddy-config:/config
|
|
networks: [egress]
|
|
depends_on: [reader]
|
|
|
|
volumes:
|
|
caddy-data: {}
|
|
caddy-config: {}
|