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: volumes_from:
- mongo-datavolume - mongo-datavolume
- mongo-base - mongo-base
ports:
- 27017:27017/tcp
mongo-base: mongo-base:
restart: always restart: always
net: none net: none