Merge pull request #1 from auroraeffect/auroraeffect-patch-version-error

Fix MongoDB version error
This commit is contained in:
liu sicong 2017-11-29 17:20:47 +08:00 committed by GitHub
commit 84a0453a9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -512,4 +512,4 @@ db:
image: "mongo:${MONGO_VERSION}" 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` 镜像的容器。