docker-compose.yml 538 Bytes
Newer Older
1
version: '3'
2
 
3 4 5 6 7 8
services:
  activemq:
    image: webcenter/activemq:latest
    container_name: activemq
    ports:
      - "61616:61616"
9

10
  service_under_test:
11
     image: service-under-test
12 13 14
     container_name: service_under_test
     depends_on:
       - activemq
15
     command: activemq
16 17
   
  test:
18 19
    image: integration-test
    container_name: integration_test
20 21 22 23
    depends_on:
      - service_under_test
      - activemq
    environment:
24
      ACTIVEMQ_HOST: activemq
25
    volumes:
26
      - /home/dd/docker_output:/usr/src/myapp/target