add jellyfin
This commit is contained in:
parent
a538fa8981
commit
0d8c2ac52d
1 changed files with 43 additions and 0 deletions
43
jellyfin/docker-compose.yml
Normal file
43
jellyfin/docker-compose.yml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
version: "3.5"
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
container_name: jellyfin
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
stdin_open: true # docker run -i
|
||||
tty: true # docker run -t
|
||||
# network_mode: "host"
|
||||
# networks:
|
||||
# - proxy
|
||||
# user: uid:gid
|
||||
ports:
|
||||
- 8096:8096
|
||||
volumes:
|
||||
- /tank/jellyfin/config:/config
|
||||
- /tank/jellyfin/cache:/cache
|
||||
- /tank/jellyfin/media:/media
|
||||
- /tank/jellyfin/media2:/media2:ro
|
||||
# Optional - alternative address used for autodiscovery
|
||||
environment:
|
||||
- JELLYFIN_PublishedServerUrl=https://jellyfin.${URL}
|
||||
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
# labels:
|
||||
# - "traefik.enable=true"
|
||||
# - "traefik.http.routers.jellyfin.entrypoints=http"
|
||||
# - "traefik.http.routers.jellyfin.rule=Host(`jellyfin.${URL}`)"
|
||||
# - "traefik.http.middlewares.jellyfin-https-redirect.redirectscheme.scheme=https"
|
||||
# - "traefik.http.routers.jellyfin.middlewares=jellyfin-https-redirect"
|
||||
# - "traefik.http.routers.jellyfin-secure.entrypoints=https"
|
||||
# - "traefik.http.routers.jellyfin-secure.rule=Host(`jellyfin.${URL}`)"
|
||||
# - "traefik.http.routers.jellyfin-secure.tls=true"
|
||||
# - "traefik.http.routers.jellyfin-secure.service=jellyfin"
|
||||
# - "traefik.http.services.jellyfin.loadbalancer.server.port=8096"
|
||||
# - "traefik.docker.network=proxy"
|
||||
# networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue