Skip to content

Commit 0812358

Browse files
committed
feat: dbgate 数据库管理软件
1 parent 5590718 commit 0812358

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Diff for: dbgate/docker-compose.yaml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
version: '3'
2+
services:
3+
dbgate:
4+
image: dbgate/dbgate
5+
restart: always
6+
ports:
7+
- 3009:3000
8+
volumes:
9+
- ./data:/root/.dbgate
10+
environment: # 详细的环境变量使用方式,参考这个地址 https://dbgate.org/docs/env-variables.html
11+
LOGINS: admin # web 端登录账号 密码
12+
LOGIN_PASSWORD_admin: 123456
13+
# CONNECTIONS: con1,con2,con3,con4 # 这是默认配置的链接,可以不进行配置
14+
15+
# LABEL_con1: MySql
16+
# SERVER_con1: mysql
17+
# USER_con1: root
18+
# PASSWORD_con1: TEST
19+
# PORT_con1: 3306
20+
# ENGINE_con1: mysql@dbgate-plugin-mysql
21+
22+
# LABEL_con2: Postgres
23+
# SERVER_con2: postgres
24+
# USER_con2: postgres
25+
# PASSWORD_con2: TEST
26+
# PORT_con2: 5432
27+
# ENGINE_con2: postgres@dbgate-plugin-postgres
28+
29+
# LABEL_con3: MongoDB
30+
# URL_con3: mongodb://mongo:27017
31+
# ENGINE_con3: mongo@dbgate-plugin-mongo
32+
33+
# LABEL_con4: SQLite
34+
# FILE_con4: /home/jan/feeds.sqlite
35+
# ENGINE_con4: sqlite@dbgate-plugin-sqlite

0 commit comments

Comments
 (0)