-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (38 loc) · 1.11 KB
/
docker-compose.yml
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
# How to use :
# username=admin password=password uid=1000 gid=1000 docker-compose up -d
# docker-compose down
# --------------------------------------------------------------------------------
version: "2.1"
services:
jellyfin:
image: jellyfin/jellyfin:20210823.8-unstable
container_name: jellyfin
user: ${uid}:${gid}
volumes:
- ./jellyfin/config:/config
- ./jellyfin/cache:/cache
- ./jellyfin/media/film:/media/film
- ./jellyfin/media/music:/media/mucic
- ./jellyfin/media/book:/media/book
- ./jellyfin/media/photo:/media/photo
- ./jellyfin/media/tv:/media/tv
- ./jellyfin/media/mv:/media/mv
# [ro] meams [read only]
- ./jellyfin/media/other:/media/other:ro
ports:
- 8096:8096
# Optional - alternative address used for autodiscovery
environment:
- JELLYFIN_PublishedServerUrl=http://127.0.0.1
networks:
vpn:
ipv4_address: 172.168.41.2
restart: on-failure
networks:
vpn:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.168.41.0/24
gateway: 172.168.41.1