mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-11-16 11:33:40 +00:00
Merge pull request #1 from auroraeffect/auroraeffect-patch-version-error
Fix MongoDB version error
This commit is contained in:
commit
84a0453a9b
@ -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` 镜像的容器。
|
||||||
|
Loading…
Reference in New Issue
Block a user