docker/jellyfin/compose.yaml

39 lines
687 B
YAML

---
services:
install_site:
build: install_site
environment:
- BASE_URL
- EMAIL
volumes:
- ./nginx.conf:/web/jellyfin.conf
- sites:/sites/
- certs:/etc/letsencrypt/
- certbotroot:/var/www/certbot/
- /var/run/docker.sock:/var/run/docker.sock
jellyfin:
image: docker.io/jellyfin/jellyfin:latest
restart: unless-stopped
user: "$PUID:$PGID"
volumes:
- cache:/cache/
- config:/config/
- $MEDIA_PATH:/media/
networks:
- nginx
volumes:
sites:
external: true
certs:
external: true
certbotroot:
external: true
cache: {}
config: {}
networks:
nginx:
external: true