mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-16 13:21:56 +08:00
40 lines
1.3 KiB
YAML
40 lines
1.3 KiB
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
emby:
|
|
image: lovechen/embyserver:4.8.0.21
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
network_mode: ${NETWORK_MODE}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8096
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
# - /dev/nvidia0:/dev/nvidia0
|
|
# - /dev/nvidiactl:/dev/nvidiactl
|
|
# - /dev/nvidia-modeset:/dev/nvidia-modeset
|
|
# - /dev/nvidia-nvswitchctl:/dev/nvidia-nvswitchctl
|
|
# - /dev/nvidia-uvm:/dev/nvidia-uvm
|
|
# - /dev/nvidia-uvm-tools:/dev/nvidia-uvm-tools
|
|
# - /dev/video11:/dev/video11
|
|
volumes:
|
|
- /etc/timezone:/etc/timezone
|
|
- /etc/localtime:/etc/localtime
|
|
- ${EMBY_ROOT_PATH}/config:/config
|
|
- ${EMBY_ROOT_PATH}/mnt:/mnt
|
|
- ${CUSTOM_MOUNT_DIRECTORY_1:-./default_mount_1}:${CUSTOM_MOUNT_DIRECTORY_1:-/default_mount_1}
|
|
- ${CUSTOM_MOUNT_DIRECTORY_2:-./default_mount_2}:${CUSTOM_MOUNT_DIRECTORY_2:-/default_mount_2}
|
|
- ${CUSTOM_MOUNT_DIRECTORY_3:-./default_mount_3}:${CUSTOM_MOUNT_DIRECTORY_3:-/default_mount_3}
|
|
environment:
|
|
- UID=0
|
|
- GID=0
|
|
- GIDLIST=0
|
|
- NVIDIA_VISIBLE_DEVICES=all
|
|
- HTTP_PROXY=${HTTP_PROXY:-}
|
|
- HTTPS_PROXY=${HTTP_PROXY:-}
|
|
- NO_PROXY=localhost,127.0.0.1,::1
|