Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.10 KB | None | 0 0
  1. ersion: '3'
  2.  
  3. services:
  4.   webapi:
  5.     image: "weegree.azurecr.io/weegree/clientpanel:${VERSION}"
  6.     networks:
  7.      - db
  8.       - queue
  9.       - proxy
  10.     depends_on:
  11.       - rabbit
  12.       - mongodb
  13.     environment:
  14.       VIRTUAL_HOST: "https://clientpanel.weegree.com,http://clientpanel.weegree.com"
  15.       SERVICE_PORTS: "80,443"
  16.       RABBIT_HOST: "rabbit"
  17.       AUTH_URI: "https://auth.weegree.com/"
  18.       NEF_URI: "https://form.weegree.com/"
  19.     deploy:
  20.       placement:
  21.         constraints: [node.role != manager]
  22.   mongodb:
  23.     image: mongo
  24.     networks:
  25.      - db
  26.     volumes:
  27.      - database:/data/db
  28.     deploy:
  29.       replicas: 1
  30.       placement:
  31.         constraints: [node.role != manager]
  32.   rabbit:
  33.     image: rabbitmq:3.6.8-management
  34.     networks:
  35.      - queue
  36.     environment:
  37.       RABBITMQ_DEFAULT_USER: "admin"
  38.       RABBITMQ_DEFAULT_PASS: "${RABBIT_PASS}"
  39.       RABBITMQ_DEFAULT_VHOST: "/"
  40.     deploy:
  41.       placement:
  42.         constraints: [node.role != manager]
  43. networks:
  44.   db:
  45.   queue:
  46.     external: true
  47.   proxy:
  48.     external: true
  49. volumes:
  50.  database:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement