publish ports

This commit is contained in:
Daniel Yu 2017-04-25 11:22:43 +08:00
parent ab3d1bef68
commit 065a40fb0b

View File

@ -15,6 +15,8 @@ mongo-cluster:
volumes_from:
- mongo-datavolume
- mongo-base
ports:
- 27017:27017/tcp
mongo-base:
restart: always
net: none