mirror of
https://github.com/Viren070/MediaFusion.git
synced 2025-12-01 23:21:11 +01:00
db7fab8b40
* Refactor Kodi addon setup to input code after expire * Use `parse.urljoin` for URL construction * Add error handling for cache setup and request response * Fix WebDAV auth configuration and enhance README setup guide * Update color values for Kodi Setup visibility * Refactor kodi request cache * Update README and home page with new features
77 lines
1.5 KiB
YAML
77 lines
1.5 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
mediafusion:
|
|
image: mhdzumair/mediafusion:4.0.0
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- mongodb
|
|
- redis
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 10s
|
|
|
|
nginx:
|
|
image: nginx:alpine
|
|
volumes:
|
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
|
- ./mediafusion.local.pem:/etc/ssl/certs/mediafusion.local.pem
|
|
- ./mediafusion.local-key.pem:/etc/ssl/private/mediafusion.local-key.pem
|
|
ports:
|
|
- "443:443"
|
|
depends_on:
|
|
- mediafusion
|
|
|
|
mongodb:
|
|
image: mongo
|
|
volumes:
|
|
- mongo-data:/data/db
|
|
ports:
|
|
- "27017:27017"
|
|
|
|
redis:
|
|
image: redis:latest
|
|
ports:
|
|
- "6379:6379"
|
|
|
|
dramatiq-worker:
|
|
image: mhdzumair/mediafusion:4.0.0
|
|
command: ["pipenv", "run", "dramatiq", "api.task", "-p", "1", "-t", "1", "--queues", "scrapy"]
|
|
env_file:
|
|
- .env
|
|
depends_on:
|
|
- mongodb
|
|
|
|
prowlarr:
|
|
image: ghcr.io/hotio/prowlarr:latest
|
|
environment:
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
UMASK: "002"
|
|
ports:
|
|
- "9696:9696"
|
|
volumes:
|
|
- prowlarr-config:/config
|
|
|
|
flaresolverr:
|
|
image: ghcr.io/flaresolverr/flaresolverr:latest
|
|
ports:
|
|
- "8191:8191"
|
|
|
|
browserless:
|
|
image: ghcr.io/browserless/chromium
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- TIMEOUT='-1'
|
|
|
|
volumes:
|
|
mongo-data:
|
|
prowlarr-config:
|