wip
This commit is contained in:
parent
f012d5e4ba
commit
248930703c
2 changed files with 166 additions and 160 deletions
|
|
@ -1,43 +1,43 @@
|
|||
version: "3.5"
|
||||
services:
|
||||
jellyfin:
|
||||
image: jellyfin/jellyfin
|
||||
image: docker.io/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
|
||||
# stdin_open: true # docker run -i
|
||||
# tty: true # docker run -t
|
||||
# network_mode: "host"
|
||||
# networks:
|
||||
# - proxy
|
||||
networks:
|
||||
- proxy
|
||||
# user: uid:gid
|
||||
ports:
|
||||
- 8096:8096
|
||||
- 0.0.0.0:8096:8096
|
||||
volumes:
|
||||
- /tank/jellyfin/config:/config
|
||||
- /tank/jellyfin/cache:/cache
|
||||
- /tank/jellyfin/media:/media
|
||||
- /tank/jellyfin/media2:/media2:ro
|
||||
- /mnt/vault/:/media
|
||||
- /tank/jellyfin/media:/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
|
||||
# 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