mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-05 06:02:22 +08:00
31 lines
1.0 KiB
YAML
31 lines
1.0 KiB
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
services:
|
|
jellyfin:
|
|
container_name: jellyfin
|
|
devices:
|
|
- /dev/dri:/dev/dri
|
|
environment:
|
|
- ROC_ENABLE_PRE_VEGA=1
|
|
- HTTP_PROXY=${HTTP_PROXY:-}
|
|
- HTTPS_PROXY=${HTTP_PROXY:-}
|
|
- NO_PROXY=localhost,127.0.0.1,::1
|
|
image: jellyfin/jellyfin:10.9.11
|
|
labels:
|
|
createdBy: Apps
|
|
network_mode: ${NETWORK_MODE}
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:8096
|
|
restart: always
|
|
user: 0:0
|
|
volumes:
|
|
- ${JELLYFIN_ROOT_PATH}/config:/config
|
|
- ${JELLYFIN_ROOT_PATH}/cache:/cache
|
|
- ${JELLYFIN_ROOT_PATH}/media:/media
|
|
- ${JELLYFIN_ROOT_PATH}/config/font:/config/font
|
|
- ${JELLYFIN_ROOT_PATH}/config/dejavu:/usr/share/fonts/truetype/dejavu
|
|
- ${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}
|