- Add Dockerfile, docker-compose.yml, .dockerignore (Issue #11) - Add nginx config with CSP, HSTS, X-Frame-Options, X-Content-Type-Options headers (Issue #14) - Hide server version via server_tokens off, strip x-response-time-ms (Issues #21, #22) - Replace sys.path.insert with proper src.* imports + importlib fallback (Issue #7) - Add config.json.example template (Issue #5)
36 lines
740 B
YAML
36 lines
740 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
nginx:
|
|
image: nginx:alpine
|
|
ports:
|
|
- "443:443"
|
|
- "80:80"
|
|
volumes:
|
|
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
|
|
- ./nginx/ssl:/etc/nginx/ssl:ro
|
|
depends_on:
|
|
- jellyfin
|
|
restart: unless-stopped
|
|
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
container_name: jellyfin
|
|
volumes:
|
|
- /path/to/media:/media
|
|
- /path/to/config:/config
|
|
environment:
|
|
- TZ=America/New_York
|
|
restart: unless-stopped
|
|
user: 1000:1000
|
|
|
|
episode-matcher:
|
|
build: .
|
|
container_name: episode-matcher
|
|
volumes:
|
|
- /path/to/media:/media
|
|
- ./config.json:/app/config.json:ro
|
|
environment:
|
|
- TVDB_API_KEY=${TVDB_API_KEY}
|
|
restart: "no"
|