forked from OpenZeppelin/openzeppelin-relayer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
54 lines (54 loc) · 1.12 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
54 lines (54 loc) · 1.12 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
---
services:
relayer:
build:
context: ../../
dockerfile: Dockerfile.development
ports:
- 8080:8080/tcp
environment:
REDIS_URL: ${REDIS_URL}
RATE_LIMIT_REQUESTS_PER_SECOND: 10
RATE_LIMIT_BURST: 50
WEBHOOK_SIGNING_KEY: ${WEBHOOK_SIGNING_KEY}
API_KEY: ${API_KEY}
CDP_API_KEY_SECRET: ${CDP_API_KEY_SECRET}
CDP_WALLET_SECRET: ${CDP_WALLET_SECRET}
security_opt:
- no-new-privileges
networks:
- relayer-network
- metrics-network
volumes:
- ./config:/app/config/
- ../../config/networks:/app/config/networks
depends_on:
- redis
restart: on-failure:5
redis:
image: redis:bookworm
ports:
- 6379:6379/tcp
security_opt:
- no-new-privileges
volumes:
- redis_data:/data
command:
- redis-server
- --appendonly
- 'yes'
- --save
- '60'
- '1'
networks:
- relayer-network
- metrics-network
restart: on-failure:5
networks:
metrics-network:
internal: true
relayer-network:
driver: bridge
volumes:
redis_data:
driver: local