MongoDB , Robo3T
👉 MongoDB - 대표적인 NoSQL DB (링크)
👉 Robo3T - MongoDB DBMS Tool (링크)
MongoDB Docker 명령어
# VOLUME 위치, USERNAME PASSWORD 임의 설정하기
$ docker run --name mongodb-container -v <YOUR VOLUME PATH>:/data/db -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=<YOUR USERNMAE> -e MONGO_INITDB_ROOT_PASSWORD=<YOUR_PASSWORD> mongo
# docker run --name mongodb-container -v /C/Users/urse/docker-mongodb:/data/db -d -p 27017:27017 -e MONGO_INITDB_ROOT_USERNAME=smkim -e MONGO_INITDB_ROOT_PASSWORD=smkim mongo
Robo3T 설정
Address : localhost
Port : 27017
Authentication - database : admin
Authentication - username : smkim
Authentication - password : smkim
'DB > 기본 실습' 카테고리의 다른 글
[Celery] Celery 비동기 작업 큐 예제 (by. FastAPI) (0) | 2022.11.29 |
---|---|
[PostgreSQL, Django] PostgreSQL 셋팅 (Local, Docker) (0) | 2022.07.14 |
[DB] AWS EC2에서 Sqlite3 DB 확인 (0) | 2022.06.13 |
[DB] Django 연동 DB 관련 Tools (Connector, DBMS) (0) | 2022.05.30 |
팀 공용 MongoDB-Atlas-Robo 3T 셋팅 (0) | 2022.05.04 |