45 lines
1.1 KiB
YAML
45 lines
1.1 KiB
YAML
services:
|
|
jellyfin:
|
|
image: jellyfin/jellyfin:latest
|
|
container_name: jellyfin
|
|
volumes:
|
|
- ./config:/config
|
|
- ./cache:/cache
|
|
- type: bind
|
|
target: /media
|
|
source: ./media_mount
|
|
- type: bind
|
|
source: ./jellyfin-media-remote
|
|
target: /media_remote
|
|
bind:
|
|
propagation: shared
|
|
- ./media:/media_old:ro
|
|
- ./fonts:/usr/local/share/fonts/custom:ro
|
|
restart: unless-stopped
|
|
environment:
|
|
- JELLYFIN_PublishedServerUrl=https://jelly.foxgirls.date
|
|
- TZ=Europe/Warsaw
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8096/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 30s
|
|
networks:
|
|
- reverse_proxy_default
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
reverse_proxy_default:
|
|
external: true
|
|
volumes:
|
|
jellyfin-media:
|
|
driver: local
|
|
driver_opts:
|
|
type: "ext4"
|
|
device: "/home/debian/jellyfin/media_mount"
|
|
o: "bind" |