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:
+2
-2
@@ -6,7 +6,7 @@ services:
|
||||
image: mongo:latest
|
||||
restart: always
|
||||
ports:
|
||||
- ${MONGODB_PORT:-27017}:${MONGODB_PORT:-27017}
|
||||
- 127.0.0.1:${MONGODB_PORT:-27017}:${MONGODB_PORT:-27017}
|
||||
volumes:
|
||||
- ${MONGODB_PATH:-./mongodb}:/data/db
|
||||
# TODO: add auth
|
||||
@@ -26,7 +26,7 @@ services:
|
||||
image: mongo-express:latest
|
||||
restart: always
|
||||
ports:
|
||||
- ${MONGO_EXPRESS_PORT:-8081}:${MONGO_EXPRESS_PORT:-8081}
|
||||
- 127.0.0.1:${MONGO_EXPRESS_PORT:-8081}:${MONGO_EXPRESS_PORT:-8081}
|
||||
environment:
|
||||
- ME_CONFIG_MONGODB_SERVER=mongo
|
||||
- ME_CONFIG_MONGODB_PORT=${MONGODB_PORT:-27017}
|
||||
|
||||
Reference in New Issue
Block a user