forked from RGB-Tools/rgb-lightning-node
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcompose.yaml
More file actions
124 lines (124 loc) · 3.43 KB
/
Copy pathcompose.yaml
File metadata and controls
124 lines (124 loc) · 3.43 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
120
121
122
123
124
services:
bitcoind:
image: registry.gitlab.com/hashbeam/docker/bitcoind:30.2
command: ["-fallbackfee=0.0002", "-rest"]
environment:
MYUID: 1000
MYGID: 1000
RPCAUTH: "user:84c66d54d736d8b02aaa5b02e07e759b$$cc56c229b2a49ae2bfd5932cc8a6135d435bb9a7ac037ddd351d65936082c03d"
ports:
- 18443:18443
volumes:
- ./datacore:/srv/app/.bitcoin
electrs:
image: registry.gitlab.com/hashbeam/docker/electrs:0.11.0
environment:
MYUID: 1000
MYGID: 1000
BTCPASS: "password"
volumes:
- ./dataindex:/srv/app/db
depends_on:
- bitcoind
ports:
- 50001:50001
# mempool/electrs with --jsonrpc-import shares chain state with the shared
# bitcoind container by importing blocks over RPC (no shared blocks volume).
# Serves the esplora REST API at port 3002.
esplora:
image: mempool/electrs:v3.2.0
profiles: ['esplora']
command:
- --jsonrpc-import
- --cookie=user:password
- --network=regtest
- --daemon-rpc-addr=bitcoind:18443
- --http-addr=0.0.0.0:3002
depends_on:
- bitcoind
ports:
- 3002:3002
proxy:
image: ghcr.io/rgb-tools/rgb-proxy-server:0.3.0
ports:
- 3000:3000
vss-postgres:
image: postgres:16-alpine
profiles: ['vss']
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 5s
timeout: 5s
retries: 5
vss-server:
build:
context: ./docker/vss-server
dockerfile: ./Dockerfile
image: vss-server:sigs-auth
profiles: ['vss']
ports:
- 8081:8080
environment:
VSS_BIND_ADDRESS: "0.0.0.0:8080"
VSS_PSQL_USERNAME: postgres
VSS_PSQL_PASSWORD: postgres
VSS_PSQL_ADDRESS: "vss-postgres:5432"
VSS_PSQL_DEFAULT_DB: postgres
VSS_PSQL_VSS_DB: vss
depends_on:
vss-postgres:
condition: service_healthy
rgs-postgres:
image: postgres:16-alpine
profiles: ['gossip']
environment:
POSTGRES_DB: ln_graph_sync
POSTGRES_USER: alice
POSTGRES_PASSWORD: rgspass
healthcheck:
test: ["CMD-SHELL", "pg_isready -U alice -d ln_graph_sync"]
interval: 2s
timeout: 5s
retries: 10
rgs-server:
build:
context: ./docker/rgs-server
dockerfile: ./Dockerfile
image: rgs-server:local
profiles: ['gossip']
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
RAPID_GOSSIP_SYNC_SERVER_NETWORK: regtest
RAPID_GOSSIP_SYNC_SERVER_LOG_LEVEL: info
RAPID_GOSSIP_SYNC_SERVER_SNAPSHOT_INTERVAL: "10800"
RAPID_GOSSIP_SYNC_SERVER_CACHES_PATH: /srv/cache
RAPID_GOSSIP_SYNC_SERVER_DB_HOST: rgs-postgres
RAPID_GOSSIP_SYNC_SERVER_DB_USER: alice
RAPID_GOSSIP_SYNC_SERVER_DB_PASSWORD: rgspass
RAPID_GOSSIP_SYNC_SERVER_DB_NAME: ln_graph_sync
BITCOIN_REST_DOMAIN: bitcoind
BITCOIN_REST_PORT: "18443"
BITCOIN_REST_PATH: "/rest/"
LN_PEERS: ${RGS_LN_PEERS:-}
volumes:
- ./datargs:/srv/cache
depends_on:
rgs-postgres:
condition: service_healthy
bitcoind:
condition: service_started
rgs-http:
image: nginx:1.27-alpine
profiles: ['gossip']
ports:
- 8002:80
volumes:
- ./datargs:/srv/cache:ro
- ./docker/rgs-server/nginx.conf:/etc/nginx/conf.d/default.conf:ro
depends_on:
- rgs-server