feat:添加opentdp到列表#1250
This commit is contained in:
2
apps/opentdp/latest/.env.sample
Normal file
2
apps/opentdp/latest/.env.sample
Normal file
@@ -0,0 +1,2 @@
|
||||
CONTAINER_NAME="opentdp"
|
||||
PANEL_APP_PORT_HTTP="40250"
|
||||
10
apps/opentdp/latest/data.yml
Normal file
10
apps/opentdp/latest/data.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: 40250
|
||||
edit: true
|
||||
envKey: PANEL_APP_PORT_HTTP
|
||||
labelEn: Port
|
||||
labelZh: 端口
|
||||
required: true
|
||||
rule: paramPort
|
||||
type: number
|
||||
17
apps/opentdp/latest/docker-compose.yml
Normal file
17
apps/opentdp/latest/docker-compose.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
version: '3'
|
||||
services:
|
||||
opentdp:
|
||||
image: rehiy/tdp-cloud:latest
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
ports:
|
||||
- "${PANEL_APP_PORT_HTTP}:7800"
|
||||
volumes:
|
||||
- ./data/conf:/etc/tdp-cloud
|
||||
- ./data/data:/var/lib/tdp-cloud
|
||||
labels:
|
||||
createdBy: "Apps"
|
||||
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user