1
0

feat:调整ddns-go

This commit is contained in:
okxlin
2024-10-07 14:20:50 +08:00
parent c6b9f5b382
commit c2b377c53f
11 changed files with 71 additions and 337 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="ddns-go"
PANEL_APP_PORT_HTTP="9876"
DATA_PATH="./data"

View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: "9876"
edit: true
envKey: PANEL_APP_PORT_HTTP
labelEn: Port
labelZh: 端口
required: true
rule: paramPort
type: number
- default: "./data"
edit: true
envKey: DATA_PATH
labelEn: Data Path
labelZh: 数据路径
required: true
type: text

View File

@@ -0,0 +1,17 @@
services:
ddns-go:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:9876"
volumes:
- "${DATA_PATH}:/root"
image: jeessy/ddns-go:latest
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true