Advertisement
Guest User

Untitled

a guest
Oct 18th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.73 KB | None | 0 0
  1. # Use this to bring up the bare minimum docker containers to support
  2. # integration testing. In theory you don't need this for dev and unit testing, right??
  3. #
  4. # in other words, for IT, you would do 'docker-compose start' and then launch
  5. # the smartone container and test it.
  6. #
  7. # For most dev work, the mocks should be enough (you need to apply the testing profile)
  8. #
  9. # Ports mapped to 4126 are for remote debugging
  10. data:
  11.   image: zimperium-dockerv2-local.jfrog.io/data:1.0
  12.   volumes:
  13.    - "/data"
  14.  
  15. consul:
  16.   image: zimperium-dockerv2-local.jfrog.io/consul:1.0.5
  17.   container_name: consul
  18.   ports:
  19.    - 8500:8500
  20.  
  21. postgres:
  22.   image: zimperium-dockerv2-local.jfrog.io/postgres:1.0.3
  23.   container_name: postgres
  24.   links:
  25.    - consul
  26.   ports:
  27.    - 5432:5432
  28.   dns:
  29.    - 127.0.0.1
  30.  
  31. kafka:
  32.   image: zimperium-dockerv2-local.jfrog.io/kafka:1.0.9
  33.   container_name: kafka
  34.   ports:
  35.    - 9092:9092
  36.     - 2181:2181
  37.     - 9000:9000
  38.     - 9001:9001
  39.     - 2490:2490
  40.     - 12345:12345
  41.   links:
  42.    - consul
  43.   volumes_from:
  44.    - "data"
  45.   dns:
  46.    - 127.0.0.1
  47.     - 8.8.8.8
  48.  
  49. rolesandpermissions:
  50.   image: zimperium-dockerv2-local.jfrog.io/rolesandpermissions:1.0.0
  51.   container_name: rolesandpermissions
  52.   links:
  53.    - consul
  54.     - postgres
  55.     - kafka
  56.   ports:
  57.    - 6649:8080
  58.     - 24126:4126
  59.   dns:
  60.    - 127.0.0.1
  61.  
  62. collectionpolicy:
  63.   image: zimperium-dockerv2-local.jfrog.io/collectionpolicy:1.0.5
  64.   container_name: collectionpolicy
  65.   links:
  66.    - consul
  67.     - postgres
  68.     - kafka
  69.   ports:
  70.    - 6654:8080
  71.     - 34126:4126
  72.   dns:
  73.    - 127.0.0.1
  74.  
  75. trm:
  76.   image: zimperium-dockerv2-local.jfrog.io/trm:1.2.5
  77.   container_name: trm
  78.   links:
  79.    - consul
  80.     - postgres
  81.     - kafka
  82.   ports:
  83.    - 6641:8080
  84.   dns:
  85.    - 127.0.0.1
  86.  
  87. user:
  88.   image: zimperium-dockerv2-local.jfrog.io/user:2.0.7
  89.   container_name: user
  90.   ports:
  91.    - 8624:8080
  92.     - 41126:4126
  93.   links:
  94.    - consul
  95.     - postgres
  96.     - kafka
  97.   dns:
  98.    - 127.0.0.1
  99.  
  100. device:
  101.   image: zimperium-dockerv2-local.jfrog.io/device:2.3.4
  102.   container_name: device
  103.   links:
  104.    - consul
  105.     - postgres
  106.     - kafka
  107.   ports:
  108.    - 50000:8080
  109.     - 35294:4126
  110.   dns:
  111.    - 127.0.0.1
  112.  
  113. tenant:
  114.   image: zimperium-dockerv2-local.jfrog.io/tenant:1.3.6
  115.   container_name: tenant
  116.   ports:
  117.    - 6638:8080
  118.     - 35234:4126
  119.   links:
  120.    - consul
  121.     - postgres
  122.     - kafka
  123.   dns:
  124.    - 127.0.0.1
  125.  
  126. email:
  127.   image: zimperium-dockerv2-local.jfrog.io/email:1.3.3.appdirect
  128.   container_name: email
  129.   ports:
  130.    - 6646:8080
  131.     - 4135:4126
  132.   links:
  133.    - consul
  134.     - kafka
  135.     - postgres
  136.   dns:
  137.    - 127.0.0.1
  138.  
  139. ## these guys are not strictly necessary but they are handy...
  140.  
  141. # provides a useful control panel for spring boot apps
  142. admin:
  143.   image: zimperium-dockerv2-local.jfrog.io/admin:1.0.5
  144.   container_name: admin
  145.   links:
  146.    - consul
  147.   ports:
  148.    - 80:8080
  149.  
  150. # provides hawtio (good stuff, including camel rout visualizer)
  151. #control:
  152. #  image: zimperium-dockerv2-local.jfrog.io/control:latest
  153. #  container_name: control
  154. #  links:
  155. #    - consul
  156. #  ports:
  157. #    - 8086:8080
  158.  
  159. # If you want to run appdirect from the IDE instead of the docker container, comment out this block
  160. appdirect:
  161.   image: zimperium/appdirect #zimperium-dockerv2-local.jfrog.io/appdirect:latest
  162.   container_name: appdirect
  163.   ports:
  164.    - 6639:8080
  165.     - 4126:4126
  166.   links:
  167.    - consul
  168.     - postgres
  169.     - tenant
  170.     - user
  171.   dns:
  172.    - 127.0.0.1
  173.  
  174. proxy:
  175.   image: zimperium-dockerv2-local.jfrog.io/proxy:1.1
  176.   container_name: proxy
  177.   volumes:
  178.    - /etc/haproxy/certs/public.pem:/etc/server.crt
  179.     - /etc/haproxy/certs/private.pem:/etc/server.key
  180.     - /etc/haproxy/haproxy.cfg:/etc/haproxy.cfg
  181.   ports:
  182.    - 8080:8080
  183.   links:
  184.    - appdirect
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement