-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
55 lines (50 loc) · 1.12 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
version: '3.6'
services:
rabbitmq:
image: rabbitmq:management
ports:
- ${RABBIT_MQ_PORT:-5672}:5672
- ${RABBIT_MQ_ADMIN_PORT:-15672}:15672
environment:
RABBITMQ_DEFAULT_USER: rabbitmq
RABBITMQ_DEFAULT_PASS: rabbitmq
healthcheck:
test: ['CMD', 'rabbitmq-diagnostics', '-q', 'is_running']
interval: 30s
timeout: 30s
retries: 3
backend:
build:
context: ./
dockerfile: docker/backend/Dockerfile
volumes:
- ./high_templar:/code/high_templar
ports:
- 5000:5000
entrypoint: /code/high_templar/run
wiremock:
image: rodolpheche/wiremock
ports:
- 8080:8080
nginx:
image: nginx
volumes:
- ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
ports:
- 8000:8000
- 8001:8001
tester:
build:
context: ./
dockerfile: docker/tester/Dockerfile
volumes:
- ./:/code
depends_on:
rabbitmq:
condition: service_healthy
backend:
condition: service_started
wiremock:
condition: service_started
nginx:
condition: service_started