gistfile1.txt
· 623 B · Text
Raw
version: "2"
services:
jellyfin:
image: jellyfin/jellyfin:latest
container_name: Jellyfin
environment:
- TZ=Europe/Warsaw
- PGID=1026
- PUID=100
- JELLYFIN_DATA_DIR=/shared_config
- JELLYFIN_CACHE_DIR=/shared_cache
- JELLYFIN_CONFIG_DIR=/shared_config/config
- JELLYFIN_LOG_DIR=/shared_config/log
volumes:
- /volume1/docker/jellyfinhw/config:/shared_config
- /volume1/docker/jellyfinhw/cache:/shared_cache
- /volume1/video:/data/media
- /volume1/music:/data/music
devices:
- /dev/dri:/dev/dri
restart: unless-stopped
network_mode: host
1 | version: "2" |
2 | services: |
3 | jellyfin: |
4 | image: jellyfin/jellyfin:latest |
5 | container_name: Jellyfin |
6 | environment: |
7 | - TZ=Europe/Warsaw |
8 | - PGID=1026 |
9 | - PUID=100 |
10 | - JELLYFIN_DATA_DIR=/shared_config |
11 | - JELLYFIN_CACHE_DIR=/shared_cache |
12 | - JELLYFIN_CONFIG_DIR=/shared_config/config |
13 | - JELLYFIN_LOG_DIR=/shared_config/log |
14 | volumes: |
15 | - /volume1/docker/jellyfinhw/config:/shared_config |
16 | - /volume1/docker/jellyfinhw/cache:/shared_cache |
17 | - /volume1/video:/data/media |
18 | - /volume1/music:/data/music |
19 | devices: |
20 | - /dev/dri:/dev/dri |
21 | restart: unless-stopped |
22 | network_mode: host |