Compare commits
2 Commits
905691f4bb
...
446100706d
Author | SHA1 | Date | |
---|---|---|---|
Thord Johansson | 446100706d | ||
Thord Johansson | d711270776 |
|
@ -4,9 +4,9 @@
|
||||||
# don't ignore dirs so we can look inside them
|
# don't ignore dirs so we can look inside them
|
||||||
!*/
|
!*/
|
||||||
|
|
||||||
# but do ignore volumes and subsubdirs
|
# but do ignore volumes and subsubsubdirs e.g. hostname/container/configstuff
|
||||||
volumes/
|
volumes/
|
||||||
*/*/
|
*/*/*/
|
||||||
|
|
||||||
# only allow .yml files
|
# only allow .yml files
|
||||||
!*.yml
|
!*.yml
|
||||||
|
|
|
@ -0,0 +1,31 @@
|
||||||
|
services:
|
||||||
|
jellyfin:
|
||||||
|
image: jellyfin/jellyfin
|
||||||
|
container_name: jellyfin
|
||||||
|
#user: 1000:1000
|
||||||
|
network_mode: 'host'
|
||||||
|
volumes:
|
||||||
|
- /mnt/data/storage/jellyfin/config:/config
|
||||||
|
- /mnt/data/storage/jellyfin/cache:/cache
|
||||||
|
- media:/media
|
||||||
|
- /mnt/data/downloads/complete:/downloads
|
||||||
|
|
||||||
|
#ports:
|
||||||
|
# - "8096:8096/tcp"
|
||||||
|
# - "8920:8920/tcp"
|
||||||
|
# - "1900:1900/udp"
|
||||||
|
# - "7359:7359/udp"
|
||||||
|
restart: 'unless-stopped'
|
||||||
|
# Optional - alternative address used for autodiscovery
|
||||||
|
#environment:
|
||||||
|
# - JELLYFIN_PublishedServerUrl=http://example.com
|
||||||
|
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
||||||
|
extra_hosts:
|
||||||
|
- "host.docker.internal:host-gateway"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
media:
|
||||||
|
driver_opts:
|
||||||
|
type: "nfs"
|
||||||
|
o: "addr=192.168.1.100,nfsvers=4"
|
||||||
|
device: ":/mnt/data/media/"
|
Loading…
Reference in New Issue