Emby is a personal media server that lets you access and enjoy your videos, music, and photos on any device. You can also stream live TV, manage your DVR, and control your content with parental controls and DLNA.
services:
emby:
image: lscr.io/linuxserver/emby:latest
container_name: emby
runtime: nvidia # Expose NVIDIA GPUs
network_mode: host # Enable DLNA and Wake-on-Lan
environment:
- PUID=568
- PGID=568
- NVIDIA_VISIBLE_DEVICES=all
- TZ=America/New_York
volumes:
- /mnt/tank/configs/emby:/config
- /mnt/tank/media:/media
ports:
- 8096:8096 # HTTP port
- 8920:8920 # HTTPS port
restart: unless-stopped
Enabling nVidia GPUs in Docker
Follow the steps in this Github page to allow passing an nVidia GPU into a container
media
directory into the container as /media.Check out the new docs from TrueNAS
Spinning Blue Circle?
When you arrive at the home screen, you will probably see a spinning blue circle in the middle of the page. To stop this from happening in the future, click the cog wheel in the top right corner, then Home Screen in the left pane, and on Section 4 change Live TV to None.
To watch content on a device in your house on your home network, download the Emby App from wherever your device gets apps from. When you start the Emby app, manually add a server; don’t click Emby Connect. Type in the IP Address of your server (for me it would look like http://192.168.1.215/) and use the default port of 8096. Once its connected you should see the sign-in screen with your name on it. If not, use the manual login and type the username and password you set up earlier.
If you are using Nginx Proxy Manager to route your traffic use these settings to be sure you’re not caching media:
Field | Value |
---|---|
location | / |
Cog Icon | click this to expand the box at the bottom |
scheme | http |
Forward Hostname / IP | private IPv4 of your media server |
Forward Port | port media server is running on |
expandable box | add_header Cache-Control "no-store, no-cache, must-revalidate, proxy-revalidate"; add_header Pragma "no-cache"; add_header Expires "0"; |