Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

chore: un-expose mongodb ports in compose files (#786)

Danny Avila91d32fa4f602
diff --git a/deploy-compose.yml b/deploy-compose.yml
index 869f987d6e..bc0cbd23d5 100644
--- a/deploy-compose.yml
+++ b/deploy-compose.yml
@@ -38,8 +38,8 @@ services:
restart: always
mongodb:
container_name: chat-mongodb
- ports:
- - 27018:27017
+ # ports: # Uncomment this to access mongodb from outside docker, not safe in deployment
+ # - 27018:27017
image: mongo
restart: always
volumes:
diff --git a/docker-compose.yml b/docker-compose.yml
index a7de0a515a..79f41af5fc 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -46,8 +46,8 @@ services:
- ./images:/app/client/public/images
mongodb:
container_name: chat-mongodb
- ports:
- - 27018:27017
+ # ports: # Uncomment this to access mongodb from outside docker, not safe in deployment
+ # - 27018:27017
image: mongo
restart: always
volumes: