背景
搭建完mongodb后还漏了几个步骤,不能在本地使用
STEP
# 1. 进入容器内部
docker exec -it mongo bash
# 2. 下载vim
apt-get update
apt-get install vim
# 3. 修改配置文件
vim /etc/mongod.conf.orig
# bindIp: 127.0.0.1 -> bindIp: 0.0.0.0
搭建完mongodb后还漏了几个步骤,不能在本地使用
# 1. 进入容器内部
docker exec -it mongo bash
# 2. 下载vim
apt-get update
apt-get install vim
# 3. 修改配置文件
vim /etc/mongod.conf.orig
# bindIp: 127.0.0.1 -> bindIp: 0.0.0.0
CICD With Github Action
Frontend Algorithm (1)