-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (40 loc) · 975 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (40 loc) · 975 Bytes
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
services:
redis:
image: redis:7-alpine
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
timeout: 5s
retries: 5
ports:
- "6379:6379"
networks:
- bitcoin_network
restart: unless-stopped
collector:
image: asia-northeast3-docker.pkg.dev/poised-standard-484213-a7/bitcoin-pipeline/collector:latest
depends_on:
redis:
condition: service_healthy
env_file:
- .env
volumes:
- ./keys/gcp-key.json:/keys/gcp-key.json:ro
networks:
- bitcoin_network
restart: unless-stopped
processor:
image: asia-northeast3-docker.pkg.dev/poised-standard-484213-a7/bitcoin-pipeline/processor:latest
depends_on:
redis:
condition: service_healthy
env_file:
- .env
volumes:
- ./keys/gcp-key.json:/keys/gcp-key.json:ro
networks:
- bitcoin_network
restart: unless-stopped
networks:
bitcoin_network:
driver: bridge