-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
42 lines (42 loc) · 1.06 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
---
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: jellyfin
restart: always
user: 1027:100
volumes:
- /volume1/docker/jellyfin/config:/config:rw
- /volume1/docker/jellyfin/cache:/cache:rw
- /volume1/media:/media:rw
environment:
- PUID=1027
- PGID=100
- TZ=Europe/Madrid
- JELLYFIN_DATA_DIR=/config
- JELLYFIN_CACHE_DIR=/cache
- JELLYFIN_CONFIG_DIR=/config/config
- JELLYFIN_LOG_DIR=/config/log
- JELLYFIN_WEB_DIR=/jellyfin/jellyfin-web
- JELLYFIN_FFMPEG=/usr/lib/jellyfin-ffmpeg/ffmpeg
- XDG_CACHE_HOME=/cache
- LC_ALL=en_US.UTF-8
- LANG=en_US.UTF-8
- LANGUAGE=en_US:en
ports:
- 8096:8096/tcp
- 8920:8920/tcp
- 7359:7359/udp
healthcheck:
test: curl --fail http://localhost:8096/health || exit 1
interval: 45s
timeout: 30s
retries: 3
deploy:
resources:
limits:
memory: 2048M
reservations:
memory: 256M
networks:
jellyfin: