-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yaml
88 lines (87 loc) · 1.83 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
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
name: "dlcdevkit"
services:
bitcoin:
image: bitcoin/bitcoin:28.0
container_name: bitcoin
command: |
-regtest=1
-rpcuser=ddk
-rpcpassword=ddk
-rpcallowip=0.0.0.0/0
-rpcbind=0.0.0.0
-server=1
-addresstype=bech32
-fallbackfee=0.0002
-txindex=1
-zmqpubrawblock=tcp://0.0.0.0:28332
-zmqpubrawtx=tcp://0.0.0.0:28333
-printtoconsole
-regtest
-disablewallet=0
ports:
# regtest ports
- 18443:18443
volumes:
- ddk-bitcoin:/bitcoin/.bitcoin
electrs:
image: ghcr.io/vulpemventures/electrs:latest
container_name: electrs
entrypoint:
- /build/electrs
command:
- -vvvv
- --network
- regtest
- --daemon-dir
- /config
- --daemon-rpc-addr
- bitcoin:18443
- --cookie
- ddk:ddk
- --http-addr
- 0.0.0.0:30000
- --electrum-rpc-addr
- 0.0.0.0:50000
- --cors
- "*"
- --jsonrpc-import
depends_on:
- bitcoin
ports:
- 50000:50000
- 30000:30000
expose:
- "30000"
- "50000"
volumes:
- ddk-bitcoin:/config
restart: unless-stopped
kormir-oracle-db:
profiles: [kormir]
image: postgres:latest
container_name: kormir-oracle-db
hostname: kormir-oracle-db
environment:
- POSTGRES_PASSWORD=kormir
- POSTGRES_USER=kormir
ports:
- "5433:5432"
volumes:
- oracle-db-data:/kormir
nostr-relay:
profiles: [nostr, kormir]
image: scsibug/nostr-rs-relay
container_name: nostr-relay
hostname: nostr-relay
ports:
- "8081:8081"
volumes:
- nostr-relay:/usr/src/app/db
- ./testconfig/config.toml:/usr/src/app/config.toml
volumes:
oracle-db-data:
ddk-bitcoin:
nostr-relay:
networks:
dlcdevkit:
name: "dlcdevkit"