1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-10 09:51:22 +02:00

restructuring to wiki-repo

This commit is contained in:
TiynGER
2020-04-10 18:51:58 +02:00
parent 7964ab15b4
commit f189138649
70 changed files with 1190 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
version: "2"
services:
jellyfin:
image: linuxserver/jellyfin
container_name: jellyfin
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
volumes:
- config:/config
- media_movies:/data/movies
- media_tvshows:/data/tvshows
- transcode:/transcode
ports:
- 8096:8096
restart: unless-stopped
volumes:
config:
driver: local
transcode:
driver: local
media_movies:
external: true
media_tvshows:
external: true

36
docker/jellyfin/readme.md Normal file
View File

@@ -0,0 +1,36 @@
# Jellyfin
This is a dockerized version of an jellyfin server.
The official container and documentation was made by [linuxserver](https://hub.docker.com/linuxserver/jellyfin).
This docker-rebuild is made up by a ```docker-compose.yml``` file.
## Jellyfin
### Environment-variables
Set the following environment-variables in the ```environment:``` section of the docker-compose file.
| Name | Usage | Default |
| ------------------- | ---------------------------- | ------- |
| PUID | Userid to run the container | |
| PGID | Groupid to run the container | |
| TZ | specify the timezone | |
### Volumes
Set the following volumes in the ```volumes:``` section of the docker-compose file.
| Volume-Name | Container mount | Description |
| ---------------- | ---------------------- | ------------------------------------ |
| config | /config | storage for config files of jellyfin |
| media_movies | /data/movies | storage for movies |
| media_tvshows | /data/tvshows | storage for tvshows |
| transcode | /transcode | tmp storage to transcode |
Because it is useful to have the possibility to use the ```media_movies``` and ```media_tvshows``` in multiple containers,
it is recommended to use them as external volumes (volumes section: ```external: true``` instead of ```driver: local```).
To use the rebuild the volumes have to exist before creating the container (```docker volume create media_movies``` and tvshows accordingly).
### Ports
Set the following ports in the ```ports:``` section.
| Container Port | Recommended outside port | Protocol | Description |
| -------------- | ------------------------ | -------- | ----------- |
| 8096 | 8096 | TCP | WebUI |

4
docker/jellyfin/rebuild.sh Executable file
View File

@@ -0,0 +1,4 @@
#!/bin/sh
docker-compose down
docker pull linuxserver/jellyfin:latest
docker-compose up -d