jellyfin etc.
This commit is contained in:
33
jellyfin/docker-compose.yml
Normal file
33
jellyfin/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
user: 1000:1000
|
||||
# network_mode: 'host'
|
||||
ports:
|
||||
- 8096:8096
|
||||
- 8920:8920 #optional
|
||||
- 7359:7359/udp #optional
|
||||
- 1900:1900/udp #optional
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./cache:/cache
|
||||
- type: bind
|
||||
source: /media/extension/music
|
||||
target: /music
|
||||
- type: bind
|
||||
source: /media/extension/video
|
||||
target: /video
|
||||
# read_only: true
|
||||
# Optional - extra fonts to be used during transcoding with subtitle burn-in
|
||||
# - type: bind
|
||||
# source: /path/to/fonts
|
||||
# target: /usr/local/share/fonts/custom
|
||||
# read_only: true
|
||||
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'
|
||||
Reference in New Issue
Block a user