Skip to content

Commit 540c874

Browse files
authored
Merge pull request #258 from auroraeffect/master
Fix MongoDB version error in compose
2 parents 5ed88cc + 84a0453 commit 540c874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compose/yaml_file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -512,4 +512,4 @@ db:
512512
image: "mongo:${MONGO_VERSION}"
513513
```
514514

515-
如果执行 `MONGO_VERSION=3.0 docker-compose up` 则会启动一个 `mongo:3.2` 镜像的容器;如果执行 `MONGO_VERSION=2.8 docker-compose up` 则会启动一个 `mongo:2.8` 镜像的容器。
515+
如果执行 `MONGO_VERSION=3.2 docker-compose up` 则会启动一个 `mongo:3.2` 镜像的容器;如果执行 `MONGO_VERSION=2.8 docker-compose up` 则会启动一个 `mongo:2.8` 镜像的容器。

0 commit comments

Comments
 (0)