Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ersion: '3'
- services:
- webapi:
- image: "weegree.azurecr.io/weegree/clientpanel:${VERSION}"
- networks:
- - db
- - queue
- - proxy
- depends_on:
- - rabbit
- - mongodb
- environment:
- VIRTUAL_HOST: "https://clientpanel.weegree.com,http://clientpanel.weegree.com"
- SERVICE_PORTS: "80,443"
- RABBIT_HOST: "rabbit"
- AUTH_URI: "https://auth.weegree.com/"
- NEF_URI: "https://form.weegree.com/"
- deploy:
- placement:
- constraints: [node.role != manager]
- mongodb:
- image: mongo
- networks:
- - db
- volumes:
- - database:/data/db
- deploy:
- replicas: 1
- placement:
- constraints: [node.role != manager]
- rabbit:
- image: rabbitmq:3.6.8-management
- networks:
- - queue
- environment:
- RABBITMQ_DEFAULT_USER: "admin"
- RABBITMQ_DEFAULT_PASS: "${RABBIT_PASS}"
- RABBITMQ_DEFAULT_VHOST: "/"
- deploy:
- placement:
- constraints: [node.role != manager]
- networks:
- db:
- queue:
- external: true
- proxy:
- external: true
- volumes:
- database:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement