mirror of
https://github.com/xpltdco/media-rip.git
synced 2026-04-03 02:53:58 -06:00
- 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
30 lines
841 B
YAML
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:
|