-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
88 lines (81 loc) · 1.91 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
services:
lint-formatter:
build: .
volumes:
- .:/app
command: [ "./scripts/start-formatter-lint.sh" ]
networks:
- djangostompnetwork
integration-tests:
build: .
volumes:
- .:/app
depends_on:
broker-rabbitmq:
condition: service_healthy
command: ["./scripts/start-tests.sh"]
environment:
STOMP_SERVER_HOST: "broker-rabbitmq"
STOMP_SERVER_PORT: 61613
STOMP_SERVER_GUI_PORT: 15672
networks:
- djangostompnetwork
integration-tests-active-mq:
build: .
volumes:
- .:/app
depends_on:
- broker-activemq
command: ["./scripts/start-tests.sh"]
environment:
STOMP_SERVER_HOST: "broker-activemq"
STOMP_SERVER_PORT: 61613
STOMP_SERVER_GUI_PORT: 8161
networks:
- djangostompnetwork
integration-tests-tox:
build:
context: .
dockerfile: Dockerfile.tox-tests
volumes:
- .:/app
depends_on:
broker-rabbitmq:
condition: service_healthy
command: ["./scripts/start-tox-tests.sh"]
networks:
- djangostompnetwork
broker-activemq:
image: rmohr/activemq:latest
ports:
- 8161:8161
- 61613:61613
volumes:
- ./tests/resources/custom-activemq-conf:/opt/apache-activemq-5.15.6/conf
networks:
- djangostompnetwork
another-broker-activemq:
image: rmohr/activemq:latest
ports:
- 8162:8161
- 61614:61613
volumes:
- ./tests/resources/custom-activemq-conf:/opt/apache-activemq-5.15.6/conf
networks:
- djangostompnetwork
broker-rabbitmq:
image: rabbitmq:3-management
ports:
- 61613:61613
- 15672:15672
volumes:
- ./tests/resources/custom-rabbitmq-conf:/etc/rabbitmq/
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 10s
timeout: 5s
retries: 5
networks:
- djangostompnetwork
networks:
djangostompnetwork: