mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-06-13 03:54:57 +03:00
Make mongo & mongo-express safer
This commit is contained in:
+3
-1
@@ -132,4 +132,6 @@ dmypy.json
|
|||||||
config/config.yml
|
config/config.yml
|
||||||
config/config.env
|
config/config.env
|
||||||
|
|
||||||
docker-compose.dev.yml
|
docker-compose.dev.yml
|
||||||
|
|
||||||
|
mongodb/
|
||||||
+2
-2
@@ -6,7 +6,7 @@ services:
|
|||||||
image: mongo:latest
|
image: mongo:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${MONGODB_PORT:-27017}:${MONGODB_PORT:-27017}
|
- 127.0.0.1:${MONGODB_PORT:-27017}:${MONGODB_PORT:-27017}
|
||||||
volumes:
|
volumes:
|
||||||
- ${MONGODB_PATH:-./mongodb}:/data/db
|
- ${MONGODB_PATH:-./mongodb}:/data/db
|
||||||
# TODO: add auth
|
# TODO: add auth
|
||||||
@@ -26,7 +26,7 @@ services:
|
|||||||
image: mongo-express:latest
|
image: mongo-express:latest
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${MONGO_EXPRESS_PORT:-8081}:${MONGO_EXPRESS_PORT:-8081}
|
- 127.0.0.1:${MONGO_EXPRESS_PORT:-8081}:${MONGO_EXPRESS_PORT:-8081}
|
||||||
environment:
|
environment:
|
||||||
- ME_CONFIG_MONGODB_SERVER=mongo
|
- ME_CONFIG_MONGODB_SERVER=mongo
|
||||||
- ME_CONFIG_MONGODB_PORT=${MONGODB_PORT:-27017}
|
- ME_CONFIG_MONGODB_PORT=${MONGODB_PORT:-27017}
|
||||||
|
|||||||
Reference in New Issue
Block a user