Add Jellyfin-App
This commit is contained in:
parent
f6bc8b439e
commit
aabd9ce251
@ -52,7 +52,7 @@ docker compose -f docker-compose-traefik.yml up -d
|
|||||||
Ouvrir une page web avec l'url :
|
Ouvrir une page web avec l'url :
|
||||||
Pour une utilisation tout seul
|
Pour une utilisation tout seul
|
||||||
|
|
||||||
http://10.0.4.29:3000
|
http://10.0.4.29:8096
|
||||||
|
|
||||||
Pour une utilisation avec Traefik
|
Pour une utilisation avec Traefik
|
||||||
|
|
||||||
|
@ -1,66 +1,42 @@
|
|||||||

|
#### NETWORKS
|
||||||
URL : HHHHH
|
networks:
|
||||||
|
docker-traefik_front_network:
|
||||||
|
external: true
|
||||||
|
back_network:
|
||||||
|
driver: bridge
|
||||||
|
attachable: true
|
||||||
|
|
||||||
# Fichier-Stockage
|
#### SERVICES
|
||||||
|
services:
|
||||||
GGGGG
|
### jellyfin
|
||||||
|
jellyfin:
|
||||||
# Téléchargement, Configuration et Lancement
|
container_name: jellyfin-app
|
||||||
|
hostname: jellyfin-app
|
||||||
## Téléchargement de Fichier-Stockage
|
image: jellyfin/jellyfin
|
||||||
|
user: 1000:1000
|
||||||
Saisir la commande pour télécharger la source
|
environment:
|
||||||
```bash
|
- TZ=Europe/Paris
|
||||||
git clone https://git.tips-of-mine.fr/Tips-Of-Mine/Docker.git
|
volumes:
|
||||||
```
|
- ./jellyfin/config:/config
|
||||||
|
- ./jellyfin/cache:/cache
|
||||||
Saisir la commande pour vous rendre dans le dossier
|
- ./Films:/Films:ro
|
||||||
```bash
|
- ./TVShows:/TVShows:ro
|
||||||
cd AAAAA\Fichier-Stockage
|
- ./Audiobooks:/Audiobooks:ro
|
||||||
```
|
- ./Music:/Music:ro
|
||||||
|
restart: unless-stopped
|
||||||
## Modifier la configuration de Fichier-Stockage
|
networks:
|
||||||
|
docker-traefik_front_network:
|
||||||
Saisir la commande pour vous rendre dans le dossier
|
labels:
|
||||||
```bash
|
- "traefik.enable=true"
|
||||||
cd AAAAA\Fichier-Stockage
|
- "traefik.docker.network=docker-traefik_front_network"
|
||||||
```
|
## HTTP
|
||||||
|
- "traefik.http.routers.jellyfin-http.rule=Host(`jellyfin.10.0.4.29.traefik.me`)"
|
||||||
Nous éditons le fichier de configuration
|
- "traefik.http.routers.jellyfin-http.entrypoints=http"
|
||||||
```bash
|
## HTTPS
|
||||||
nano .env
|
- "traefik.http.routers.jellyfin-https.rule=Host(`jellyfin.10.0.4.29.traefik.me`)"
|
||||||
```
|
- "traefik.http.routers.jellyfin-https.entrypoints=https"
|
||||||
|
- "traefik.http.routers.jellyfin-https.tls=true"
|
||||||
Nous modifions les variables dont nous avons besoin.
|
- "traefik.http.routers.jellyfin.service=jellyfin-service"
|
||||||
|
## Middleware
|
||||||
## Lancement de Fichier-Stockage
|
## Service
|
||||||
|
- "traefik.http.services.jellyfin-service.loadbalancer.server.port=8096"
|
||||||
Pour utiliser Fichier-Stockage tout seul
|
|
||||||
```bash
|
|
||||||
docker compose up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
Pour utiliser Fichier-Stockage avec Traefik
|
|
||||||
```bash
|
|
||||||
docker compose -f docker-compose-traefik.yml up -d
|
|
||||||
```
|
|
||||||
|
|
||||||
# Utilisation
|
|
||||||
|
|
||||||
## Accueil
|
|
||||||
|
|
||||||
Ouvrir une page web avec l'url :
|
|
||||||
Pour une utilisation tout seul
|
|
||||||
|
|
||||||
http://10.0.4.29:3000
|
|
||||||
|
|
||||||
Pour une utilisation avec Traefik
|
|
||||||
|
|
||||||
https://Fichier-Stockage.10.0.4.29.traefik.me`)"
|
|
||||||
|
|
||||||
|
|
||||||
# More info
|
|
||||||
- more information on the website [Tips-Of-Mine](https://www.tips-of-mine.fr/)
|
|
||||||
|
|
||||||
# Buy me a coffe
|
|
||||||
<a href='https://ko-fi.com/R5R2KNI3N' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
version: "2"
|
|
||||||
services:
|
|
||||||
jellyfin:
|
|
||||||
image: jellyfin/jellyfin
|
|
||||||
container_name: jellyfin
|
|
||||||
group_add:
|
|
||||||
- '107' # This needs to be the group id of your GPU, e.g., `stat -c '%g' /dev/dri/renderD128` on the docker host for iGPU
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/London
|
|
||||||
volumes:
|
|
||||||
- ./jellyfin/config:/config
|
|
||||||
- ./jellyfin/cache:/cache
|
|
||||||
- /films:/films
|
|
||||||
# - /home/ubuntu/YOUR_NAS/Films:/Films:ro
|
|
||||||
# - /home/ubuntu/YOUR_NAS/TVShows:/TVShows:ro
|
|
||||||
# - /home/ubuntu/YOUR_NAS/Audiobooks:/Audiobooks:ro
|
|
||||||
# - /home/ubuntu/YOUR_NAS/Music:/Music:ro
|
|
||||||
ports: # You will need to uncomment if you aren't running through a proxy
|
|
||||||
- 8096:8096
|
|
||||||
- 8920:8920 #optional
|
|
||||||
- 7359:7359/udp #optional
|
|
||||||
- 1900:1900/udp #optional
|
|
||||||
devices: # uncomment these and amend if you require GPU accelerated transcoding
|
|
||||||
- /dev/dri/renderD128:/dev/dri/renderD128
|
|
||||||
restart: unless-stopped
|
|
@ -1,46 +1,32 @@
|
|||||||
version: "2"
|
#### NETWORKS
|
||||||
services:
|
|
||||||
jellyfin:
|
|
||||||
image: jellyfin/jellyfin
|
|
||||||
container_name: jellyfin
|
|
||||||
user: 1000:1000
|
|
||||||
#group_add:
|
|
||||||
# - '109' # This needs to be the group id of running `stat -c '%g' /dev/dri/renderD128` on the docker host
|
|
||||||
environment:
|
|
||||||
- TZ=Europe/London
|
|
||||||
volumes:
|
|
||||||
- /home/ubuntu/docker/jellyfin/config:/config
|
|
||||||
- /home/ubuntu/docker/jellyfin/cache:/cache
|
|
||||||
- /home/ubuntu/YOUR_NAS/Films:/Films:ro
|
|
||||||
- /home/ubuntu/YOUR_NAS/TVShows:/TVShows:ro
|
|
||||||
- /home/ubuntu/YOUR_NAS/Audiobooks:/Audiobooks:ro
|
|
||||||
- /home/ubuntu/YOUR_NAS/Music:/Music:ro
|
|
||||||
#ports: You will need to uncomment if you aren't running through a proxy
|
|
||||||
# - 8096:8096
|
|
||||||
# - 8920:8920 #optional
|
|
||||||
# - 7359:7359/udp #optional
|
|
||||||
# - 1900:1900/udp #optional
|
|
||||||
#devices: uncomment these and amend if you require GPU accelerated transcoding
|
|
||||||
# - /dev/dri/renderD128:/dev/dri/renderD128
|
|
||||||
# - /dev/dri/card0:/dev/dri/card0
|
|
||||||
restart: unless-stopped
|
|
||||||
labels:
|
|
||||||
- "traefik.enable=true"
|
|
||||||
- "traefik.http.routers.jellyfin.entrypoints=http"
|
|
||||||
- "traefik.http.routers.jellyfin.rule=Host(`jellyfin.YOUR_DOMAIN.co.uk`)"
|
|
||||||
- "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.YOUR_DOMAIN.co.uk`)"
|
|
||||||
- "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:
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
back_network:
|
||||||
external: true
|
driver: bridge
|
||||||
|
attachable: true
|
||||||
|
|
||||||
|
#### SERVICES
|
||||||
|
services:
|
||||||
|
### jellyfin
|
||||||
|
jellyfin:
|
||||||
|
container_name: jellyfin-app
|
||||||
|
hostname: jellyfin-app
|
||||||
|
image: jellyfin/jellyfin
|
||||||
|
user: 1000:1000
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
volumes:
|
||||||
|
- ./jellyfin/config:/config
|
||||||
|
- ./jellyfin/cache:/cache
|
||||||
|
- ./Films:/Films:ro
|
||||||
|
- ./TVShows:/TVShows:ro
|
||||||
|
- ./Audiobooks:/Audiobooks:ro
|
||||||
|
- ./Music:/Music:ro
|
||||||
|
ports:
|
||||||
|
- 8096:8096
|
||||||
|
- 8920:8920 #optional
|
||||||
|
- 7359:7359/udp #optional
|
||||||
|
- 1900:1900/udp #optional
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
back_network:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user