Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- rabbitmq:
- image: rabbitmq:management
- container_name: rabbitmq
- networks:
- - desenv-local
- ports:
- - "5672:5672"
- - "15672:15672"
- redis:
- image: redis
- container_name: redis
- networks:
- - desenv-local
- mongodb:
- hostname: mongodb1
- image: mongo
- container_name: mongodb1
- networks:
- - desenv-local
- ports:
- - "27017:27017"
- entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ]
- mongodb2:
- hostname: mongodb2
- image: mongo
- container_name: mongodb2
- networks:
- - desenv-local
- ports:
- - "27018:27017"
- entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ]
- mongodb3:
- hostname: mongodb3
- image: mongo
- container_name: mongodb3
- networks:
- - desenv-local
- ports:
- - "27019:27017"
- entrypoint: [ "/usr/bin/mongod", "--bind_ip_all", "--replSet", "rs0" ]
- dns-proxy:
- image: defreitas/dns-proxy-server
- hostname: dns.magedo
- ports:
- - 5380:5380
- volumes:
- - "/var/run/docker.sock:/var/run/docker.sock"
- - "/etc/resolv.conf:/etc/resolv.conf"
- environment:
- MG_LOG_LEVEL: ERROR
- networks:
- desenv-local:
- driver: bridge
Add Comment
Please, Sign In to add comment