Created
September 14, 2023 14:09
-
-
Save Zheaoli/f5bf2653eb14e950062655ec62afcf9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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