#201 fixed DB url for docker mongo installation

This commit is contained in:
Jan Prochazka
2021-12-29 08:30:31 +01:00
parent 1e59182fda
commit c0779f1260
2 changed files with 12 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
DEVMODE=1
CONNECTIONS=mysql,postgres
CONNECTIONS=mysql,postgres,mongo,mongo2
LABEL_mysql=MySql localhost
SERVER_mysql=localhost
@@ -15,3 +15,13 @@ USER_postgres=postgres
PASSWORD_postgres=test
PORT_postgres=5433
ENGINE_postgres=postgres@dbgate-plugin-postgres
LABEL_mongo=Mongo URL
URL_mongo=mongodb://localhost:27017
ENGINE_mongo=mongo@dbgate-plugin-mongo
LABEL_mongo2=Mongo Server
SERVER_mongo2=localhost
ENGINE_mongo2=mongo@dbgate-plugin-mongo
# docker run -p 3000:3000 -e CONNECTIONS=mongo -e URL_mongo=mongodb://localhost:27017 -e ENGINE_mongo=mongo@dbgate-plugin-mongo -e LABEL_mongo=mongo dbgate/dbgate:beta