forked from NOAA-OWP/hydrovis
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
62 lines (58 loc) · 1.25 KB
/
compose.yaml
File metadata and controls
62 lines (58 loc) · 1.25 KB
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
services:
rabbitmq:
image: rabbitmq:3.13-management
ports:
- "5672:5672" # AMQP port
- "15672:15672" # Management UI port
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 5s
retries: 5
networks:
- app-network
redis:
image: redis:7.2.5
ports:
- "6379:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 5s
timeout: 3s
retries: 5
networks:
- app-network
ingest:
build:
context: ../Ingest
dockerfile: docker/Dockerfile.ingest
restart: on-failure
depends_on:
rabbitmq:
condition: service_healthy
redis:
condition: service_healthy
environment:
- RABBITMQ_HOST=rabbitmq
- REDIS_HOST=redis
- PYTHONUNBUFFERED=1
networks:
- app-network
command: ["tail", "-f", "/dev/null"]
rnr:
build:
context: ../RnR
dockerfile: docker/Dockerfile.troute
volumes:
- ../data:/t-route/data
environment:
- RABBITMQ_HOST=rabbitmq
networks:
- app-network
depends_on:
redis:
condition: service_healthy
command: ["tail", "-f", "/dev/null"]
networks:
app-network:
driver: bridge