1
0

add emby amilys version

This commit is contained in:
makaspacex
2024-06-03 13:53:21 +08:00
parent 643818e758
commit b85ee3e8f2
6 changed files with 165 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
CONTAINER_NAME="emby-amilys"
DATA_PATH="./data/config"
MOUNT_PATH="./data/mnt"
PANEL_APP_PORT_HTTP="8098"
PANEL_APP_PORT_HTTPS="8922"

View File

@@ -0,0 +1,32 @@
additionalProperties:
formFields:
- default: 8098
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP端口
required: true
rule: paramPort
type: number
- default: 8922
edit: true
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS端口
required: true
rule: paramPort
type: number
- default: ./data/config
edit: true
envKey: DATA_PATH
labelEn: Data folder path
labelZh: 数据文件夹路径
required: true
type: text
- default: ./data/mnt
edit: true
envKey: MOUNT_PATH
labelEn: Mount folder path
labelZh: 挂载文件夹路径
required: true
type: text

View File

@@ -0,0 +1,29 @@
services:
emby:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:8096"
- "${PANEL_APP_PORT_HTTPS}:8920"
volumes:
- "${DATA_PATH}:/config"
- "${MOUNT_PATH}:/mnt/media"
environment:
- UID=1000
- GID=1000
- GIDLIST=1000,0
- TZ=Asia/Shanghai
# - NVIDIA_VISIBLE_DEVICES=all # 映射NVIDIA显卡
# - NVIDIA_DRIVER_CAPABILITIES=all # 映射NVIDIA显卡
#runtime: nvidia # Expose NVIDIA GPUs
devices:
- /dev/dri:/dev/dri # VAAPI/NVDEC/NVENC render nodes
#- /dev/vchiq:/dev/vchiq # MMAL/OMX on Raspberry Pi
image: amilys/embyserver:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true