-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathpeer-docker-compose.yml
71 lines (71 loc) · 2.05 KB
/
peer-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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: '3'
services:
peer-auth:
image: ghcr.io/interledger/rafiki-auth:latest
build:
context: ../..
dockerfile: ./packages/auth/Dockerfile
restart: always
networks:
rafiki:
ports:
- "4006:3006"
environment:
NODE_ENV: development
AUTH_DATABASE_URL: postgresql://peerauth:peerauth@database/peerauth
INTROSPECTION_HTTPSIG: "false"
BYPASS_SIGNATURE_VALIDATION: "true"
AUTH_SERVER_DOMAIN: "http://localhost:4006"
peer-backend:
image: ghcr.io/interledger/rafiki-backend:latest
build:
context: ../..
dockerfile: ./packages/backend/Dockerfile
restart: always
privileged: true
ports:
- "4000:80"
- "4001:3001"
networks:
rafiki:
environment:
NODE_ENV: development
LOG_LEVEL: debug
ADMIN_PORT: 3001
CONNECTOR_PORT: 3002
OPEN_PAYMENTS_PORT: 80
DATABASE_URL: postgresql://peerbackend:peerbackend@database/peerbackend
TIGERBEETLE_CLUSTER_ID: 0
# Tigerbeetle will support DNS in future
TIGERBEETLE_REPLICA_ADDRESSES: '["10.5.0.50:4342"]'
NONCE_REDIS_KEY: test
AUTH_SERVER_GRANT_URL: http://peer-auth:3006
AUTH_SERVER_INTROSPECTION_URL: http://peer-auth:3006/introspect
ILP_ADDRESS: test.peer
STREAM_SECRET: BjPXtnd00G2mRQwP/8ZpwyZASOch5sUXT5o0iR5b5wU=
ADMIN_KEY: admin
PUBLIC_HOST: http://peer-backend
WEBHOOK_URL: http://local-bank/webhooks
OPEN_PAYMENTS_URL: http://local-bank
PRICES_URL: http://local-bank/prices
REDIS_URL: redis://redis:6379/1
QUOTE_URL: http://local-bank/quote
BYPASS_SIGNATURE_VALIDATION: "true"
local-bank:
build:
context: ../..
dockerfile: ./packages/mock-account-provider/Dockerfile
restart: always
networks:
rafiki:
ports:
- '3031:80'
environment:
NODE_ENV: development
LOG_LEVEL: debug
PORT: 80
SEED_FILE_LOCATION: /workspace/seed.peer.yml
volumes:
- ./seed.peer.yml:/workspace/seed.peer.yml
depends_on:
- peer-backend