mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-22 06:00:56 +02:00
chore: un-expose mongodb ports in compose files (#786)
* chore(deploy-compose.yml): comment out mongodb port mapping for safety in deployment chore(deploy-compose.yml): add bind_ip option to mongodb command to allow access from outside docker chore(docker-compose.yml): comment out mongodb port mapping for safety in deployment chore(docker-compose.yml): add bind_ip option to mongodb command to allow access from outside docker * fix(deploy-compose.yml): remove bind_ip option from mongod command fix(docker-compose.yml): remove bind_ip option from mongod command
This commit is contained in:
parent
e11815833f
commit
91d32fa4f6
2 changed files with 4 additions and 4 deletions
|
@ -38,8 +38,8 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
mongodb:
|
mongodb:
|
||||||
container_name: chat-mongodb
|
container_name: chat-mongodb
|
||||||
ports:
|
# ports: # Uncomment this to access mongodb from outside docker, not safe in deployment
|
||||||
- 27018:27017
|
# - 27018:27017
|
||||||
image: mongo
|
image: mongo
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -46,8 +46,8 @@ services:
|
||||||
- ./images:/app/client/public/images
|
- ./images:/app/client/public/images
|
||||||
mongodb:
|
mongodb:
|
||||||
container_name: chat-mongodb
|
container_name: chat-mongodb
|
||||||
ports:
|
# ports: # Uncomment this to access mongodb from outside docker, not safe in deployment
|
||||||
- 27018:27017
|
# - 27018:27017
|
||||||
image: mongo
|
image: mongo
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue