-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.regtest.yml
More file actions
119 lines (117 loc) · 3.54 KB
/
Copy pathdocker-compose.regtest.yml
File metadata and controls
119 lines (117 loc) · 3.54 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
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
services:
emulator:
build:
context: .
dockerfile: Dockerfile
container_name: emulator
restart: unless-stopped
ports:
- 7073:7073
environment:
# public key has odd y
- EMULATOR_SECRET_KEY=5646b2e23bbb82491fb4ef262079ff17594d5e873fc6bcea5f1453edbe1029b1
- EMULATOR_DEPRECATED_KEYS=0202020202020202020202020202020202020202020202020202020202020202,0303030303030303030303030303030303030303030303030303030303030303
- EMULATOR_NO_TLS=true
- EMULATOR_ARKD_URL=arkd:7070
volumes:
- type: tmpfs
target: /app/data
depends_on:
- arkd
pgnbxplorer:
restart: unless-stopped
image: postgres:16
container_name: pgnbxplorer
ports:
- 5433:5432
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
- type: tmpfs
target: /var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres -d nbxplorer -h 127.0.0.1 -p 5432"]
interval: 2s
timeout: 2s
retries: 30
nbxplorer:
restart: unless-stopped
container_name: nbxplorer
ports:
- 32838:32838
image: nicolasdorier/nbxplorer:2.5.30
environment:
- NBXPLORER_NETWORK=regtest
- NBXPLORER_CHAINS=btc
- NBXPLORER_BTCRPCURL=http://bitcoin:18443
- NBXPLORER_BTCNODEENDPOINT=bitcoin:18444
- NBXPLORER_BTCRPCUSER=admin1
- NBXPLORER_BTCRPCPASSWORD=123
- NBXPLORER_VERBOSE=1
- NBXPLORER_BIND=0.0.0.0:32838
- NBXPLORER_TRIMEVENTS=10000
- NBXPLORER_SIGNALFILESDIR=/datadir
- NBXPLORER_POSTGRES=User ID=postgres;Host=pgnbxplorer;Port=5432;Application Name=nbxplorer;MaxPoolSize=20;Database=nbxplorer
- NBXPLORER_EXPOSERPC=1
- NBXPLORER_NOAUTH=1
volumes:
- type: tmpfs
target: /datadir
depends_on:
pgnbxplorer:
condition: service_healthy
arkd-wallet:
restart: unless-stopped
image: ghcr.io/arkade-os/arkd-wallet:v0.9.3
container_name: arkd-wallet
depends_on:
- nbxplorer
ports:
- "6060:6060"
environment:
- ARKD_WALLET_LOG_LEVEL=5
- ARKD_WALLET_NBXPLORER_URL=http://nbxplorer:32838
- ARKD_WALLET_DATADIR=./data/regtest
- ARKD_WALLET_NETWORK=regtest
- ARKD_WALLET_SIGNER_KEY=afcd3fa10f82a05fddc9574fdb13b3991b568e89cc39a72ba4401df8abef35f0
volumes:
- type: tmpfs
target: /app/data
arkd:
build:
context: https://github.com/arkade-os/arkd.git#v0.9.3
dockerfile: Dockerfile
container_name: arkd
restart: unless-stopped
depends_on:
- arkd-wallet
ports:
- "7070:7070"
- "7071:7071"
environment:
- ARKD_LOG_LEVEL=6
- ARKD_NO_MACAROONS=true
- ARKD_VTXO_TREE_EXPIRY=512
- ARKD_SCHEDULER_TYPE=block
- ARKD_UNILATERAL_EXIT_DELAY=512
- ARKD_BOARDING_EXIT_DELAY=1024
- ARKD_CHECKPOINT_EXIT_DELAY=512
- ARKD_DATADIR=./data/regtest
- ARKD_WALLET_ADDR=arkd-wallet:6060
- ARKD_ESPLORA_URL=http://chopsticks:3000
- ARKD_ROUND_MIN_PARTICIPANTS_COUNT=${ARKD_ROUND_MIN_PARTICIPANTS_COUNT:-1}
- ARKD_ROUND_MAX_PARTICIPANTS_COUNT=${ARKD_ROUND_MAX_PARTICIPANTS_COUNT:-128}
- ARKD_VTXO_MIN_AMOUNT=1
- ARKD_LIVE_STORE_TYPE=inmemory
- ARKD_EVENT_DB_TYPE=badger
- ARKD_DB_TYPE=sqlite
- ARKD_SESSION_DURATION=${ARKD_SESSION_DURATION:-10}
- ARKD_ROUND_REPORT_ENABLED=${ARKD_ROUND_REPORT_ENABLED:-true}
- ARKD_BAN_THRESHOLD=1
volumes:
- type: tmpfs
target: /app/data
networks:
default:
name: nigiri
external: true