Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.35 KB | None | 0 0
  1. version: '3.6'
  2.  
  3. services:
  4.  
  5.  
  6.  
  7. postgis:
  8. image: mdillon/postgis:9.6-alpine
  9. volumes:
  10. - data_full:/var/lib/postgresql/data
  11. - logspgsql_full:/var/log/postgresql
  12. environment:
  13. POSTGRES_USER: postgres
  14. POSTGRES_PASSWORD: postgres
  15. command: -p 5433
  16. expose:
  17. - "5433"
  18. networks:
  19. - maas-local
  20.  
  21. api:
  22. build: registry.ubiwhere.com/maas/backend/api
  23. command: gunicorn maas.wsgi:application --log-file=- -b 0.0.0.0:8006
  24. expose:
  25. - "8006"
  26. networks:
  27. - maas-local
  28. depends_on:
  29. - postgis
  30.  
  31.  
  32. rabbit:
  33. hostname: rabbit
  34. image: rabbitmq:latest
  35. environment:
  36. - RABBITMQ_DEFAULT_USER=admin
  37. - RABBITMQ_DEFAULT_PASS=mypass
  38. networks:
  39. - maas-local
  40. expose:
  41. - "5672"
  42.  
  43. worker:
  44. build: registry.ubiwhere.com/maas/backend/api
  45. command: celery --app=maas worker -l info -Q tasksqueue
  46. volumes:
  47. - ./api/apicode:/code
  48. networks:
  49. - maas-local
  50. depends_on:
  51. - api
  52.  
  53.  
  54.  
  55.  
  56. pollervalencia:
  57. build: registry.ubiwhere.com/maas/backend/pollervalencia
  58. command: celery --app=poller worker -l info -Q valencia_polling_queue
  59. networks:
  60. - maas-local
  61. depends_on:
  62. - api
  63.  
  64.  
  65. pollerbeatvalencia:
  66. build: registry.ubiwhere.com/maas/backend/pollerbeatvalencia
  67. command: celery --app=poller beat -l info
  68. networks:
  69. - maas-local
  70. depends_on:
  71. - api
  72.  
  73. otp:
  74. build: registry.ubiwhere.com/maas/backend/otp
  75. environment:
  76. TZ: "Europe/Berlin"
  77. command: java -Duser.timezone=Europe/Lisbon -jar otp-1.2.0-shaded.jar --server --autoScan --router "valencia" --router "cologne"
  78. expose:
  79. - "8080"
  80. networks:
  81. - maas-local
  82. depends_on:
  83. - postgis
  84.  
  85.  
  86. osrmcolognecar:
  87. build: registry.ubiwhere.com/maas/backend/osrmcolognecar
  88. command: osrm-routed -p 5001 koeln-regbez-latest.osrm
  89. expose:
  90. - "5001"
  91. networks:
  92. - maas-local
  93. depends_on:
  94. - otp
  95.  
  96. osrmcolognebike:
  97. build: registry.ubiwhere.com/maas/backend/osrmcolognebike
  98. command: osrm-routed -p 5002 koeln-regbez-latest.osrm
  99. expose:
  100. - "5002"
  101. networks:
  102. - maas-local
  103. depends_on:
  104. - osrmcolognecar
  105.  
  106. osrmcolognewalk:
  107. build: registry.ubiwhere.com/maas/backend/osrmcolognewalk
  108. command: osrm-routed -p 5003 koeln-regbez-latest.osrm
  109. expose:
  110. - "5003"
  111. networks:
  112. - maas-local
  113. depends_on:
  114. - osrmcolognebike
  115.  
  116.  
  117. osrmvalenciacar:
  118. build: registry.ubiwhere.com/maas/backend/osrmvalenciacar
  119. command: osrm-routed -p 5008 valencia.osrm
  120. expose:
  121. - "5008"
  122. networks:
  123. - maas-local
  124. depends_on:
  125. - osrmcolognewalk
  126.  
  127. osrmvalenciabike:
  128. build: registry.ubiwhere.com/maas/backend/osrmvalenciabike
  129. command: osrm-routed -p 5005 valencia.osrm
  130. expose:
  131. - "5005"
  132. networks:
  133. - maas-local
  134. depends_on:
  135. - osrmvalenciacar
  136.  
  137. osrmvalenciawalk:
  138. build: registry.ubiwhere.com/maas/backend/osrmvalenciawalk
  139. command: osrm-routed -p 5006 valencia.osrm
  140. expose:
  141. - "5006"
  142. networks:
  143. - maas-local
  144. depends_on:
  145. - osrmvalenciabike
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152. volumes:
  153. data_full:
  154. logspgsql_full:
  155. well_known:
  156.  
  157. networks:
  158. external:
  159. name: maas-local
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement