Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- replicasetpart1:
- image: mongo:2.6.8
- expose:
- - '27018'
- links:
- - replicasetpart2
- - replicasetpart3
- cap_add:
- - NET_ADMIN
- replicasetpart2:
- image: mongo:2.6.8
- links:
- - replicasetpart1
- - replicasetpart3
- expose:
- - '27019'
- cap_add:
- - NET_ADMIN
- ...
- ambassador:
- image: cpuguy83/docker-grand-ambassador
- volumes:
- - "/var/run/docker.sock:/var/run/docker.sock"
- command: "-name eureka_1 -name eureka2_1 "
- eureka:
- links:
- - "ambassador:eureka2"
- eureka2:
- links:
- - "ambassador:eureka"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement