Merge pull request #258 from auroraeffect/master

Fix MongoDB version error in compose
This commit is contained in:
康怀帅 2017-11-29 05:18:10 -06:00 committed by GitHub
commit 540c874ac0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,4 +512,4 @@ db:
image: "mongo:${MONGO_VERSION}"
```
如果执行 `MONGO_VERSION=3.0 docker-compose up` 则会启动一个 `mongo:3.2` 镜像的容器;如果执行 `MONGO_VERSION=2.8 docker-compose up` 则会启动一个 `mongo:2.8` 镜像的容器。
如果执行 `MONGO_VERSION=3.2 docker-compose up` 则会启动一个 `mongo:3.2` 镜像的容器;如果执行 `MONGO_VERSION=2.8 docker-compose up` 则会启动一个 `mongo:2.8` 镜像的容器。