-
Notifications
You must be signed in to change notification settings - Fork 53
/
docker-compose.tests.yml
53 lines (50 loc) · 1.78 KB
/
docker-compose.tests.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
version: "3.2"
services:
integration-test:
container_name: serilog.sinks.rabbitmq.tests.integration
build:
context: ./
dockerfile: docker/integration-test/Dockerfile
depends_on:
rabbitmq-cert:
condition: service_healthy
rabbitmq-plain:
condition: service_healthy
rabbitmq-cert:
container_name: serilog.sinks.rabbitmq.ssl-cert
image: rabbitmq:3.12.12-management
healthcheck:
test: rabbitmqctl status || exit 1
interval: 30s
timeout: 30s
retries: 3
ports:
- 5671:5671
- 5672:5672
- 15672:15672
volumes:
- ./docker/rabbitmq/ssl-cert/definitions.json:/etc/rabbitmq/definitions.json:ro
- ./docker/rabbitmq/ssl-cert/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
- ./docker/rabbitmq/ssl-cert/enabled_plugins:/etc/rabbitmq/enabled_plugins:ro
- ./docker/rabbitmq/ca-cert.pem:/etc/ssl/ca-cert.pem:ro
- ./docker/rabbitmq/server-cert.pem:/etc/ssl/server-crt.pem:ro
- ./docker/rabbitmq/server-key.pem:/etc/ssl/server-key.pem:ro
rabbitmq-plain:
container_name: serilog.sinks.rabbitmq.ssl-plain
image: rabbitmq:3.12.12-management
healthcheck:
test: rabbitmqctl status || exit 1
interval: 30s
timeout: 30s
retries: 3
ports:
- 6671:6671
- 6672:6672
- 16672:16672
volumes:
- ./docker/rabbitmq/ssl-plain/definitions.json:/etc/rabbitmq/definitions.json:ro
- ./docker/rabbitmq/ssl-plain/rabbitmq.conf:/etc/rabbitmq/rabbitmq.conf:ro
- ./docker/rabbitmq/ssl-plain/enabled_plugins:/etc/rabbitmq/enabled_plugins:ro
- ./docker/rabbitmq/ca-cert.pem:/etc/ssl/ca-cert.pem:ro
- ./docker/rabbitmq/server-cert.pem:/etc/ssl/server-crt.pem:ro
- ./docker/rabbitmq/server-key.pem:/etc/ssl/server-key.pem:ro