5.4 KiB
5.4 KiB
Deploying Emby Server with SAMI-CLOUD Dashboard
Quick guide to deploy Emby media server using the SAMI-CLOUD Status Dashboard.
Prerequisites
- Emby Server installed somewhere (Docker, Windows, Linux, etc.)
- SAMI-CLOUD API server running (
node caddy-api.js) - Know the IP and port where Emby is running
Option 1: Deploy Existing Emby Server
If you already have Emby running somewhere, use the dashboard to add it:
Step 1: Gather Information
You'll need:
- IP Address: Where Emby is running (e.g.,
192.168.254.100) - Port: Emby's HTTP port (default:
8096)
Step 2: Deploy via Dashboard
- Open the dashboard:
https://status.sami - Click "📱 App Selector" button
- Find Emby under the Media category
- Fill in the deployment form:
Subdomain: emby IP Address: 192.168.254.100 Port: 8096 DNS Type: Private DNS (creates DNS record) SSL Type: Internal CA (local network) - Click "Deploy App"
Step 3: Access Emby
Your Emby server will be accessible at:
https://emby.sami
Option 2: Deploy Emby in Docker
If you don't have Emby yet, here's how to deploy it with Docker:
Using Docker Compose
Create docker-compose.yml:
version: '3'
services:
emby:
image: lscr.io/linuxserver/emby:latest
container_name: emby
environment:
- PUID=1000
- PGID=1000
- TZ=America/New_York
volumes:
- ./config:/config
- /path/to/media:/data/media
- /path/to/movies:/data/movies
- /path/to/tvshows:/data/tvshows
ports:
- "8096:8096"
restart: unless-stopped
Then:
docker-compose up -d
Using Docker CLI
docker run -d \
--name=emby \
-e PUID=1000 \
-e PGID=1000 \
-e TZ=America/New_York \
-p 8096:8096 \
-v /path/to/config:/config \
-v /path/to/media:/data/media \
--restart unless-stopped \
lscr.io/linuxserver/emby:latest
After Docker Deployment
- Verify Emby is running:
docker ps - Test access:
curl http://localhost:8096 - Use the Dashboard App Selector to add reverse proxy:
- IP:
localhostor172.17.0.1(Docker bridge) - Port:
8096
- IP:
Option 3: Install Emby Directly
Windows
- Download Emby Server: https://emby.media/download.html
- Install and run setup wizard
- Note the IP and port (default:
8096) - Use Dashboard App Selector to add it
Linux
# Ubuntu/Debian
wget https://github.com/MediaBrowser/Emby.Releases/releases/download/4.8.0.62/emby-server-deb_4.8.0.62_amd64.deb
sudo dpkg -i emby-server-deb_4.8.0.62_amd64.deb
# Start service
sudo systemctl start emby-server
sudo systemctl enable emby-server
Then add to dashboard with IP and port 8096.
Emby Initial Setup
After deploying, complete Emby's setup wizard:
- Open
https://emby.sami - Choose your language
- Create admin account
- Add media libraries (Movies, TV Shows, Music, etc.)
- Configure metadata providers
- Set up remote access (if needed)
Troubleshooting
Can't access Emby through reverse proxy
Check that Emby allows the proxy:
- Open Emby Settings → Network
- Add to "Allow remote connections from":
- Your Caddy server IP
127.0.0.1
- Ensure "Enable automatic port mapping" is off (not needed with reverse proxy)
Certificate errors
If using Internal CA:
- Ensure you've installed the Caddy root certificate on your devices
- Export from:
https://dns1.sami/config/pki/ca/local/download
Performance issues
If streaming is slow:
- Check network bandwidth
- Enable hardware transcoding in Emby (Settings → Transcoding)
- Adjust quality settings in Emby clients
DNS not resolving
If emby.sami doesn't resolve:
# Test DNS
nslookup emby.sami dns1.sami
# Add manually if needed
# Windows: C:\Windows\System32\drivers\etc\hosts
# Linux/Mac: /etc/hosts
192.168.254.100 emby.sami
Updating Emby Logo
The dashboard now has the official Emby logo. If you want to customize it:
- Replace:
e:\CaddyCerts\sites\status\assets\emby.png - Copy to production:
C:\caddy\sites\status\assets\emby.png - Clear browser cache
Advanced: Emby with Custom Settings
You can configure additional Caddy settings for Emby:
emby.sami {
tls internal
# Increase timeouts for long transcoding operations
reverse_proxy http://192.168.254.100:8096 {
flush_interval -1
transport http {
dial_timeout 30s
response_header_timeout 0
read_timeout 0
}
}
}
Next Steps
After Emby is deployed:
- Add Media Libraries - Configure your movies, TV shows, music
- Install Plugins - Trailers, Trakt, Theme Songs, etc.
- Setup Users - Create accounts for family members
- Configure Clients - Install Emby apps on phones, TVs, streaming devices
- Enable Live TV - If you have TV tuners or IPTV
Comparing Emby vs Plex vs Jellyfin
| Feature | Emby | Plex | Jellyfin |
|---|---|---|---|
| Free features | Most | Some | All |
| Hardware transcoding | Premiere only | Pass only | Free |
| Open source | No | No | Yes |
| Mobile apps | Paid | Free | Free |
| Best for | Power users | Everyone | Self-hosters |
Resources
- Emby Documentation: https://support.emby.media/
- Emby Forums: https://emby.media/community/
- Docker Hub: https://hub.docker.com/r/emby/embyserver
- LinuxServer.io: https://docs.linuxserver.io/images/docker-emby/
License
Emby has both free and Premiere (paid) versions. Some features require Emby Premiere subscription.