Skip to content

Commit 3c566ae

Browse files
authored
Merge pull request #10 from luckywangxi/patch-2
添加mongo-gui,在用户管理面板实现之前,实现对用户的暂时管理
2 parents cfa8900 + 84b1f74 commit 3c566ae

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docker-compose/docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,20 @@ services:
6969
MONGO_INITDB_ROOT_PASSWORD: xxxx
7070
MONGO_INITDB_DATABASE: chatgpt
7171

72+
73+
mongo-gui:
74+
container_name: "mongo-gui"
75+
image: ugleiton/mongo-gui
76+
restart: always
77+
ports:
78+
- "4321:4321"
79+
environment:
80+
- MONGO_URL=mongodb://chatgpt:xxxx@database:27017
81+
links:
82+
- database
83+
depends_on:
84+
- database
85+
7286
nginx:
7387
image: nginx:alpine
7488
container_name: chatgptweb-database

0 commit comments

Comments
 (0)