-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (51 loc) · 1.34 KB
/
docker-compose.yml
File metadata and controls
54 lines (51 loc) · 1.34 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:
postgres:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: pincerpay
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
kora:
image: pincerpay/kora-signer:latest
ports:
- "8080:8080"
volumes:
- ./kora/kora.toml:/etc/kora/kora.toml:ro
- ./kora/signers.toml:/etc/kora/signers.toml:ro
environment:
RUST_LOG: info
profiles:
- kora
facilitator:
build:
context: .
dockerfile: apps/facilitator/Dockerfile
ports:
- "4402:4402"
environment:
PORT: 4402
NODE_ENV: development
DATABASE_URL: postgresql://postgres:postgres@postgres:5432/pincerpay
FACILITATOR_PRIVATE_KEY: "${FACILITATOR_PRIVATE_KEY}"
EVM_NETWORKS: "${EVM_NETWORKS:-eip155:84532}"
RPC_URLS: "${RPC_URLS:-}"
SOLANA_PRIVATE_KEY: "${SOLANA_PRIVATE_KEY:-}"
SOLANA_NETWORKS: "${SOLANA_NETWORKS:-}"
KORA_RPC_URL: "${KORA_RPC_URL:-}"
KORA_API_KEY: "${KORA_API_KEY:-}"
ANCHOR_PROGRAM_ID: "${ANCHOR_PROGRAM_ID:-}"
LOG_LEVEL: debug
depends_on:
postgres:
condition: service_healthy
volumes:
pgdata: