Advertisement
Guest User

Untitled

a guest
Jan 7th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.95 KB | None | 0 0
  1. version: "3"
  2. services:
  3. etcd:
  4. image: elcolio/etcd:2.0.10
  5. ports:
  6. - 2379:2379
  7. - 2380:2380
  8. - 4001:4001
  9. - 7001:7001
  10. etcd-browser:
  11. image: buddho/etcd-browser
  12. ports:
  13. - 8000:8000
  14. environment:
  15. ETCD_HOST: http://etcd
  16. AUTH_PASS: doe
  17. depends_on:
  18. - etcd
  19.  
  20. postgres-users:
  21. image: postgres:10.0
  22. ports:
  23. - 5432:5432
  24. environment:
  25. POSTGRES_USER: postgres
  26. POSTGRES_PASSWORD: postgres
  27. POSTGRES_DB: rsouser
  28.  
  29. users:
  30. image: tomisebjanic/rso-users:1.0.2
  31. ports:
  32. - 8082:8082
  33. environment:
  34. KUMULUZEE_DATASOURCES0_CONNECTIONURL: jdbc:postgresql://postgres-users:5432/rsouser
  35. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  36. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  37. KUMULUZEE_SERVER_BASEURL: http://users:8083
  38. depends_on:
  39. - etcd
  40. - postgres-users
  41. - auth
  42. - bookings
  43. - accommodations
  44.  
  45. auth:
  46. image: tomisebjanic/rso-auth:1.0.2
  47. ports:
  48. - 8089:8089
  49. environment:
  50. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  51. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  52. KUMULUZEE_SERVER_BASEURL: http://auth:8089
  53. depends_on:
  54. - etcd
  55.  
  56. bookings:
  57. image: urosbajc/display-bookings:0.6
  58. ports:
  59. - 8080:8080
  60. environment:
  61. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  62. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  63. KUMULUZEE_SERVER_BASEURL: http://bookings:8080
  64. depends_on:
  65. - etcd
  66. - auth
  67. - messaging
  68.  
  69. messaging:
  70. image: urosbajc/messaging:0.2
  71. ports:
  72. - 8086:8086
  73. environment:
  74. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  75. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  76. KUMULUZEE_SERVER_BASEURL: http://messaging:8086
  77. depends_on:
  78. - etcd
  79. - auth
  80.  
  81. recommendations:
  82. image: urosbajc/recommendations:0.1
  83. ports:
  84. - 8087:8087
  85. environment:
  86. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  87. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  88. KUMULUZEE_SERVER_BASEURL: http://recommendations:8080
  89. depends_on:
  90. - etcd
  91.  
  92. feedbacks:
  93. image: urosbajc/feedbacks:0.1
  94. ports:
  95. - 8090:8090
  96. environment:
  97. KUMULUZEE_CONFIG_ETCD_HOSTS: http://etcd:2379
  98. KUMULUZEE_DISCOVERY_ETCD_HOSTS: http://etcd:2379
  99. KUMULUZEE_SERVER_BASEURL: http://feedbacks:8090
  100. depends_on:
  101. - etcd
  102. - accommodations
  103. - bookings
  104.  
  105. accommodations:
  106. image: janerz6/accommodations:0.7
  107. ports:
  108. - 8081:8081
  109. depends_on:
  110. - etcd
  111. - auth
  112. - notifications
  113. - reporting
  114.  
  115. notifications:
  116. image: janerz6/notifications:0.5
  117. ports:
  118. - 8083:8083
  119. depends_on:
  120. - etcd
  121. - auth
  122.  
  123. reporting:
  124. image: janerz6/reporting:0.1
  125. ports:
  126. - 8085:8085
  127. depends_on:
  128. - etcd
  129. - auth
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement