generated from WalletConnect/rust-http-starter
-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
52 lines (49 loc) · 1.07 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
version: '3.9'
services:
jaeger:
image: jaegertracing/opentelemetry-all-in-one:latest
ports:
- "3001:16686"
redis:
networks:
- bouncer
image: "redis:6-alpine"
ports:
- 6379:6379
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 5s
timeout: 5s
retries: 5
bouncer:
networks:
- bouncer
build:
dockerfile: ./Dockerfile-dev
context: .
depends_on:
jaeger:
condition: service_started
redis:
condition: service_healthy
ports:
- "3000:3000"
environment:
- PORT=3000
- LOG_LEVEL=INFO
- TELEMETRY_ENABLED=true
- TELEMETRY_GRPC_URL=http://jaeger:4317
- ATTESTATION_CACHE_URL=redis://redis:6379/0
- PROJECT_REGISTRY_CACHE_URL=redis://redis:6379/1
- SCAM_GUARD_CACHE_URL=redis://redis:6379/2
volumes:
- ./:/bouncer/
healthcheck:
test: [ "CMD", "curl", "localhost:3000/health" ]
interval: 5s
timeout: 5s
retries: 5
networks:
bouncer:
ipam:
driver: default