-
Notifications
You must be signed in to change notification settings - Fork 53
/
docker-compose.yaml
45 lines (42 loc) · 1.33 KB
/
docker-compose.yaml
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
version: "3.9"
services:
redis:
image: redis:7.0
ports:
- "6379:6379"
volumes:
- redis:/data
postgres:
image: postgres:16
environment:
POSTGRES_HOST_AUTH_METHOD: trust
ports:
- "5432:5432"
proxy:
platform: linux/x86_64
build:
context: .
dockerfile: Dockerfile
ports:
- "3000:3000"
environment:
- RPC_PROXY_LOG_LEVEL=DEBUG
- RPC_PROXY_HOST=0.0.0.0
- RPC_PROXY_PORT=3000
- RPC_PROXY_INFURA_PROJECT_ID=${RPC_PROXY_INFURA_PROJECT_ID}
- RPC_PROXY_POKT_PROJECT_ID=${RPC_PROXY_POKT_PROJECT_ID}
- RPC_PROXY_QUICKNODE_API_TOKENS=${RPC_PROXY_QUICKNODE_API_TOKENS}
- RPC_PROXY_REGISTRY_API_URL=https://registry-prod-cf.walletconnect.com
- RPC_PROXY_REGISTRY_API_AUTH_TOKEN=${RPC_PROXY_REGISTRY_API_AUTH_TOKEN}
- RPC_PROXY_STORAGE_PROJECT_DATA_REDIS_ADDR_READ=redis://redis:6379/0
- RPC_PROXY_STORAGE_PROJECT_DATA_REDIS_ADDR_WRITE=redis://redis:6379/0
- RPC_PROXY_STORAGE_IDENTITY_CACHE_REDIS_ADDR_READ=redis://redis:6379/1
- RPC_PROXY_STORAGE_IDENTITY_CACHE_REDIS_ADDR_WRITE=redis://redis:6379/1
- RPC_PROXY_POSTGRES_URI=postgres://postgres@postgres:5432/postgres
cap_add:
- SYS_PTRACE # Enabling GDB to attach to a running process
depends_on:
- redis
- postgres
volumes:
redis: