1
0

feat:添加atvloadly到列表#2703

This commit is contained in:
okxlin
2024-12-15 22:07:41 +08:00
parent c2d8af4712
commit 479547067c
9 changed files with 169 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
AVAHI_DAEMON_PATH="/var/run/avahi-daemon"
CONTAINER_NAME="atvloadly"
DATA_PATH="./data"
DBUS_PATH="/var/run/dbus"
PANEL_APP_PORT_HTTP=40338
PRIVILEGED_MODE="true"

View File

@@ -0,0 +1,38 @@
additionalProperties:
formFields:
- default: "40338"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "true"
disabled: true
envKey: PRIVILEGED_MODE
labelEn: Privilege mode switch
labelZh: 特权模式开关
required: true
type: text
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text
- default: "/var/run/dbus"
disabled: true
envKey: DBUS_PATH
labelEn: DBus Path
labelZh: DBus 路径
required: true
type: text
- default: "/var/run/avahi-daemon"
disabled: true
envKey: AVAHI_DAEMON_PATH
labelEn: Avahi Daemon Path
labelZh: Avahi Daemon 路径
required: true
type: text

View File

@@ -0,0 +1,20 @@
services:
atvloadly:
image: "bitxeno/atvloadly:latest"
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:80"
volumes:
- "${DATA_PATH}:/data"
- "${DBUS_PATH}:/var/run/dbus"
- "${AVAHI_DAEMON_PATH}:/var/run/avahi-daemon"
privileged: ${PRIVILEGED_MODE}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true