Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. version: "3"
  2. services:
  3. postgres:
  4. hostname: postgres
  5. image: postgres
  6. environment:
  7. - POSTGRES_USER=postgres
  8. - POSTGRES_PASSWORD=postgres
  9. - POSTGRES_DB=rsi
  10. ports:
  11. - 5432:5432
  12.  
  13. rabbit:
  14. hostname: rabbit
  15. image: rabbitmq:management
  16. environment:
  17. - RABBITMQ_DEFAULT_USER=admin
  18. - RABBITMQ_DEFAULT_PASS=admin
  19. ports:
  20. - 5672:5672
  21. - 15672:15672
  22.  
  23. artemis:
  24. image: felipellrocha/artemis
  25. deploy:
  26. replicas: 3
  27. resources:
  28. limits:
  29. cpus: "0.1"
  30. memory: 50M
  31. restart_policy:
  32. condition: on-failure
  33. ports:
  34. - 8080:8080
  35.  
  36. hermes:
  37. image: felipellrocha/hermes
  38. deploy:
  39. resources:
  40. cpus: "0.2"
  41. memory: 100M
  42. restart_policy:
  43. condition: on-failure
  44. ports:
  45. - 8090:8090
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement