diff --git a/apps/alist-tvbox/0.3.5/.env.sample b/apps/alist-tvbox/0.3.5/.env.sample new file mode 100644 index 0000000000..3d0a8e33e4 --- /dev/null +++ b/apps/alist-tvbox/0.3.5/.env.sample @@ -0,0 +1,4 @@ +CONTAINER_NAME="alist-tvbox" +PANEL_APP_PORT_HTTP="40161" +PANEL_APP_PORT_XIAOYA="40162" +DATA_PATH="./data" diff --git a/apps/alist-tvbox/0.3.5/data.yml b/apps/alist-tvbox/0.3.5/data.yml new file mode 100644 index 0000000000..cbcec36ecd --- /dev/null +++ b/apps/alist-tvbox/0.3.5/data.yml @@ -0,0 +1,25 @@ +additionalProperties: + formFields: + - default: 40161 + edit: true + envKey: PANEL_APP_PORT_HTTP + labelEn: Port + labelZh: 端口 + required: true + rule: paramPort + type: number + - default: 40162 + edit: true + envKey: PANEL_APP_PORT_XIAOYA + labelEn: xiaoya Alist Port + labelZh: 小雅 Alist 端口 + required: true + rule: paramPort + type: number + - default: ./data + edit: true + envKey: DATA_PATH + labelEn: Data folder path + labelZh: 数据文件夹路径 + required: true + type: text diff --git a/apps/alist-tvbox/0.3.5/docker-compose.yml b/apps/alist-tvbox/0.3.5/docker-compose.yml new file mode 100644 index 0000000000..555e9967c8 --- /dev/null +++ b/apps/alist-tvbox/0.3.5/docker-compose.yml @@ -0,0 +1,20 @@ +services: + alist-tvbox: + container_name: ${CONTAINER_NAME} + restart: always + networks: + - 1panel-network + ports: + - "${PANEL_APP_PORT_HTTP}:4567" + - "${PANEL_APP_PORT_XIAOYA}:80" + volumes: + - "${DATA_PATH}:/data" + environment: + - ALIST_PORT=${PANEL_APP_PORT_XIAOYA} + image: haroldli/xiaoya-tvbox:0.3.5 + labels: + createdBy: "Apps" + +networks: + 1panel-network: + external: true diff --git a/apps/alist-tvbox/latest/docker-compose.yml b/apps/alist-tvbox/latest/docker-compose.yml index 8bac2db565..5e6b3807ac 100644 --- a/apps/alist-tvbox/latest/docker-compose.yml +++ b/apps/alist-tvbox/latest/docker-compose.yml @@ -12,9 +12,9 @@ services: environment: - ALIST_PORT=${PANEL_APP_PORT_XIAOYA} image: haroldli/xiaoya-tvbox:latest - labels: + labels: createdBy: "Apps" -networks: +networks: 1panel-network: external: true