These are some guides for various use.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
2.5 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. # Jellyfin
  2. [Jellyfin](https://jellyfin.ord) is a suite for multimedia streaming.
  3. It includes a web-interface.
  4. ## Setup Server
  5. ### Docker
  6. The official container and documentation was made by [linuxserver](https://hub.docker.com/linuxserver/jellyfin).
  7. This docker-rebuild is made up by a `docker-compose.yml` file.
  8. #### Environment-variables
  9. Set the following environment-variables in the `environment:` section of the docker-compose file.
  10. | Name | Usage | Default |
  11. | ------ | ---------------------------- | ------- |
  12. | `PUID` | Userid to run the container | |
  13. | `PGID` | Groupid to run the container | |
  14. | `TZ` | specify the timezone | |
  15. #### Volumes
  16. Set the following volumes in the `volumes:` section of the docker-compose file.
  17. | Volume-Name | Container mount | Description |
  18. | --------------- | --------------- | ------------------------------------ |
  19. | `config` | `/config` | storage for config files of jellyfin |
  20. | `media_movies` | `/data/movies` | storage for movies |
  21. | `media_tvshows` | `/data/tvshows` | storage for tvshows |
  22. | `transcode` | `/transcode` | tmp storage to transcode |
  23. Because it is useful to have the possibility to use the `media_movies` and
  24. `media_tvshows` in multiple containers,
  25. it is recommended to use them as external volumes (volumes section:
  26. `external: true` instead of `driver: local`).
  27. To use the rebuild the volumes have to exist before creating the container
  28. (`docker volume create media_movies` and tvshows accordingly).
  29. #### Ports
  30. Set the following ports in the `ports:` section.
  31. | Container Port | Recommended outside port | Protocol | Description |
  32. | -------------- | ------------------------ | -------- | ----------- |
  33. | `8096` | `8096` | TCP | WebUI |
  34. #### Rebuild
  35. ```shell
  36. #!/bin/sh
  37. docker-compose down
  38. docker pull linuxserver/jellyfin:latest
  39. docker-compose up -d
  40. ```
  41. #### Docker-Compose.yml
  42. ```yml
  43. version: "2"
  44. services:
  45. jellyfin:
  46. image: linuxserver/jellyfin
  47. container_name: jellyfin
  48. environment:
  49. - PUID=1000
  50. - PGID=1000
  51. - TZ=Europe/Berlin
  52. volumes:
  53. - config:/config
  54. - media_movies:/data/movies
  55. - media_tvshows:/data/tvshows
  56. - transcode:/transcode
  57. ports:
  58. - 8096:8096
  59. restart: unless-stopped
  60. volumes:
  61. config:
  62. driver: local
  63. transcode:
  64. driver: local
  65. media_movies:
  66. external: true
  67. media_tvshows:
  68. external: true
  69. ```