media-rip/docker-compose.yml
xpltd 8eaeef6fcf v1.0.0: Fix Docker refs, Caddyfile, dedupe CI, add LICENSE
- Fix docker-compose.yml: image ref xpltdco (was jlightner), healthcheck uses python (no curl in image)
- Fix Caddyfile: reverse_proxy target matches docker-compose.example.yml service name (media-rip)
- Remove duplicate release.yml workflow (publish.yml handles tag-triggered builds)
- Fix publish.yml: use github.repository for portability, add contents:write for release creation
- Add MIT LICENSE file
2026-03-19 07:26:11 -05:00

30 lines
841 B
YAML

# media.rip() — Zero-Config Docker Compose
#
# Usage:
# docker compose up
#
# The app will be available at http://localhost:8080
# Downloads are persisted in ./downloads/
services:
mediarip:
image: ghcr.io/xpltdco/media-rip:latest
# build: . # Uncomment to build from source
ports:
- "8080:8000"
volumes:
- ./downloads:/downloads # Downloaded files
- ./themes:/themes # Custom themes (optional)
- mediarip-data:/data # Database + internal state
environment:
- MEDIARIP__SESSION__MODE=isolated
restart: unless-stopped
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
volumes:
mediarip-data: