Guest User

Untitled

a guest
Jan 19th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. version: '3'
  2. services:
  3. registry:
  4. build: arqlibrarian-registry/
  5. image: registry:1.0
  6. ports:
  7. - "8761:8761"
  8.  
  9. catalogue:
  10. build: arqlibrarian-catalogue.rest/
  11. image: catalogue:1.0
  12. deploy:
  13. restart_policy:
  14. condition: on-failure
  15. depends_on:
  16. - registry
  17. # ports:
  18. # - "6700:6700"
  19.  
  20. issues:
  21. build: arqlibrarian-issues.rest/
  22. image: issues:1.0
  23. deploy:
  24. replicas: 3
  25. resources:
  26. limits:
  27. cpus: '0.50'
  28. memory: 50M
  29. reservations:
  30. cpus: '0.25'
  31. memory: 20M
  32. restart_policy:
  33. condition: on-failure
  34. depends_on:
  35. - registry
  36. ports:
  37. - "6702:6702"
  38.  
  39.  
  40. users:
  41. build: arqlibrarian-users.rest/
  42. image: users:1.0
  43. deploy:
  44. restart_policy:
  45. condition: on-failure
  46. depends_on:
  47. - registry
  48. # ports:
  49. # - "6701:6701"
  50.  
  51.  
  52.  
  53. gateway:
  54. build: arqlibrarian-gateway/
  55. image: gateway:1.0
  56. environment:
  57. SPRING_PROFILES_ACTIVE: default
  58. deploy:
  59. restart_policy:
  60. condition: on-failure
  61. depends_on:
  62. - registry
  63. ports:
  64. - "8083:8083"
Add Comment
Please, Sign In to add comment