Skip to content

Instantly share code, notes, and snippets.

@Zheaoli
Created September 14, 2023 14:09
Show Gist options
  • Save Zheaoli/f5bf2653eb14e950062655ec62afcf9d to your computer and use it in GitHub Desktop.
Save Zheaoli/f5bf2653eb14e950062655ec62afcf9d to your computer and use it in GitHub Desktop.
version: '3.8'
services:
emby:
container_name: emby
image: emby/embyserver:latest
# Obviously you'll need to update these
environment:
- UID=1002
- GID=1002
network_mode: 'host'
ports:
- '8096:8096'
volumes:
- "./config:/config"
restart: unless-stopped
# This is how GPU support is configured with recent docker/docker compose:
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment