깃허브 주소는 https://github.com/paullee714/docker-db Docker - MongoDB .env file을 사용해서 컨테이너에 정보를 주도록 해보겠습니당 docker-compose.yml 작성 version: '3' services: mongodb: image: mongo ports: - "${MONGO_PORT}:27017" volumes: - /Users/wool/Dev/mongodb:/data/db container_name: "docker-mongodb" env_file: - .env .env file 작성 ## Mongodb MONGO_HOST=localhost MONGO_PORT=27017 MONGO_INITDB_ROOT_USERNAME=root MONGO_INIT..