-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
64 lines (59 loc) · 1.16 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
version: '3.9'
services:
rabbitmq:
image: heidiks/rabbitmq-delayed-message-exchange:3.9.13-management
ports:
- "5672:5672"
- "15672:15672"
postgres:
image: postgres:14.6
environment:
- POSTGRES_PASSWORD=password
ports:
- "5432:5432"
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U postgres" ]
interval: 5s
timeout: 5s
retries: 5
app:
build: ./misc/tools/reflex
stop_grace_period: 1s
links:
- postgres
depends_on:
postgres:
condition: service_healthy
environment:
SERVICE: service
env_file:
- ./.env
ports:
- "8080:8080"
volumes:
- .:/usr/app
worker:
build: ./misc/tools/reflex
stop_grace_period: 1s
links:
- postgres
depends_on:
postgres:
condition: service_healthy
environment:
SERVICE: worker
env_file:
- ./.env
ports:
- "6060:6060"
volumes:
- .:/usr/app
endpoint_simulator:
build: ./misc/tools/reflex
stop_grace_period: 1s
environment:
SERVICE: endpoint_simulator
ports:
- "8090:8090"
volumes:
- .:/usr/app