Answers for "mongodb database not connected docker"

0

mongodb database not connected docker

# you must use port 27017 for host, if you use another port, database cannot connected

DATABASE_URI=mongodb://mongo:27017/db_name

services  
  mongo:
    container_name: mongo
    image: mongo
    ports: 
      - '27017:27017'
Posted by: Guest on February-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language