Change jellyfin user

This commit is contained in:
Marko Korhonen 2020-02-13 23:57:30 +02:00
parent ddc7fa39f6
commit f06363c104
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

View File

@ -1,13 +1,13 @@
version: '3' version: "3"
services: services:
jellyfin: jellyfin:
image: jellyfin/jellyfin image: jellyfin/jellyfin
container_name: jellyfin container_name: jellyfin
environment: environment:
- TZ=Europe/Helsinki - TZ=Europe/Helsinki
user: 1001:985 user: "${UID}:${GID}"
ports: ports:
- '8096:8096' - "8096:8096"
networks: networks:
- proxy - proxy
restart: always restart: always
@ -17,20 +17,20 @@ services:
- /mnt/Storage/Media:/media - /mnt/Storage/Media:/media
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
labels: labels:
- 'traefik.enable=true' - "traefik.enable=true"
- 'traefik.http.routers.jellyfin-redirect.entrypoints=http' - "traefik.http.routers.jellyfin-redirect.entrypoints=http"
- 'traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.reekynet.com`)' - "traefik.http.routers.jellyfin-redirect.rule=Host(`jellyfin.reekynet.com`)"
- 'traefik.http.middlewares.http2https.redirectscheme.scheme=https' - "traefik.http.middlewares.http2https.redirectscheme.scheme=https"
- 'traefik.http.routers.jellyfin-redirect.middlewares=http2https' - "traefik.http.routers.jellyfin-redirect.middlewares=http2https"
- 'traefik.http.routers.jellyfin.entrypoints=https' - "traefik.http.routers.jellyfin.entrypoints=https"
- 'traefik.http.routers.jellyfin.rule=Host(`jellyfin.reekynet.com`)' - "traefik.http.routers.jellyfin.rule=Host(`jellyfin.reekynet.com`)"
- 'traefik.http.routers.jellyfin.tls=true' - "traefik.http.routers.jellyfin.tls=true"
- 'traefik.http.routers.jellyfin.tls.certresolver=http' - "traefik.http.routers.jellyfin.tls.certresolver=http"
- 'traefik.http.routers.jellyfin.service=jellyfin' - "traefik.http.routers.jellyfin.service=jellyfin"
- 'traefik.docker.network=proxy' - "traefik.docker.network=proxy"
- 'traefik.http.services.jellyfin.loadbalancer.server.port=8096' - "traefik.http.services.jellyfin.loadbalancer.server.port=8096"
networks: networks:
proxy: proxy: