1
0

添加 dbgate

This commit is contained in:
浮心物语
2024-02-11 07:42:03 +00:00
parent e48ae21a14
commit bf56a8a9b5
12 changed files with 315 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
CONTAINER_NAME="dbgate"
PANEL_APP_PORT_HTTP="3000"
DATA_PATH="./data"

17
apps/dbgate/beta/data.yml Normal file
View File

@@ -0,0 +1,17 @@
additionalProperties:
formFields:
- default: 3000
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 folder path
labelZh: 数据文件夹路径
required: true
type: text

View File

@@ -0,0 +1,18 @@
version: "3"
services:
dbgate:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
ports:
- "${PANEL_APP_PORT_HTTP}:3000"
volumes:
- "${DATA_PATH}:/root/.dbgate"
image: "dbgate/dbgate:beta"
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true