-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
57 lines (53 loc) · 1.38 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
53
54
55
56
57
version: "3.7"
services:
payd:
container_name: payd
image: libsv/payd:0.1.13
environment:
DB_DSN: "file:paydb/wallet.db?_foreign_keys=true&pooling=true"
LOG_LEVEL: "info"
DPP_HOST: "ws://dpp:8445/ws"
MAPI_CALLBACK_HOST: "http://dpp:8445"
PEERCHANNELS_HOST: "peerchannels:25009"
WALLET_SPVREQUIRED: 'true'
healthcheck:
test: [ "CMD", "curl", "-f", "localhost:8443/api/v1/health" ]
interval: 30s
timeout: 10s
volumes:
- payd-data:/paydb
ports:
- "127.0.0.1:8443:8443"
networks:
- regtest-stack
payd-merchant:
container_name: payd-merchant
image: libsv/payd:0.1.13
environment:
DB_DSN: "file:paydb/merchant-wallet.db?_foreign_keys=true&pooling=true"
SERVER_HOST: payd-merchant:28443
SERVER_PORT: :28443
LOG_LEVEL: "info"
DPP_HOST: "ws://dpp:8445/ws"
MAPI_CALLBACK_HOST: "http://dpp:8445"
PEERCHANNELS_HOST: "peerchannels:25009"
WALLET_SPVREQUIRED: 'true'
healthcheck:
test: [ "CMD", "curl", "-f", "localhost:28443/api/v1/health" ]
interval: 30s
timeout: 10s
volumes:
- merchant-data:/paydb
ports:
- "127.0.0.1:28443:28443"
networks:
- regtest-stack
networks:
regtest-stack:
name: regtest-stack
external: true
volumes:
payd-data:
external: false
merchant-data:
external: false