@@ -30,7 +30,7 @@ services:
3030 - bitcoind:/home/bitcoin/.bitcoin
3131
3232 lndserver :
33- image : lightninglabs/lnd:v0.17.0 -beta
33+ image : lightninglabs/lnd:v0.18.5 -beta
3434 container_name : lndserver
3535 restart : unless-stopped
3636 networks :
@@ -68,6 +68,7 @@ services:
6868 - loopserver
6969 volumes :
7070 - " lndserver:/root/.lnd"
71+ - " loopserver:/root/loopserver"
7172 depends_on :
7273 - lndserver
7374 command :
@@ -82,6 +83,30 @@ services:
8283 - " --bitcoin.zmqpubrawblock=tcp://bitcoind:28332"
8384 - " --bitcoin.zmqpubrawtx=tcp://bitcoind:28333"
8485
86+ aperture :
87+ build :
88+ context : https://github.com/lightninglabs/aperture.git # GitHub repository URL
89+ dockerfile : Dockerfile # Optional: If the Dockerfile isn't named 'Dockerfile'
90+ container_name : aperture
91+ restart : unless-stopped
92+ depends_on :
93+ - loopserver
94+ - etcd
95+ networks :
96+ regtest :
97+ aliases :
98+ - aperture
99+ volumes :
100+ - " lndserver:/root/.lnd" # Ensure this volume is correctly mapped
101+ - " loopserver:/root/loopserver" # Ensure this volume is correctly mapped
102+ - " aperture:/root/.aperture" # Ensure this volume is correctly mapped
103+ ports :
104+ - " 11018:11018" # Expose the port for the aperture service
105+ entrypoint : [ "/bin/aperture" ] # Ensure executable is found here
106+ command :
107+ - " --configfile=/root/.aperture/aperture.yaml"
108+
109+
85110 lndclient :
86111 image : lightninglabs/lnd:v0.17.0-beta
87112 container_name : lndclient
@@ -124,22 +149,45 @@ services:
124149 - loopclient
125150 volumes :
126151 - " lndclient:/root/.lnd"
152+ - " aperture:/root/.aperture"
153+ - " loopclient:/root/.loop"
127154 depends_on :
128- - lndclient
155+ - loopserver
129156 command :
130157 - " loopd"
158+ - " --experimental"
131159 - " --network=regtest"
132160 - " --debuglevel=debug"
133- - " --server.host=loopserver:11009"
134- - " --server.notls"
161+ - " --server.host=aperture:11018"
162+ # - "--server.notls"
163+ - " --server.tlspath=/root/.loop/aperture-tls.cert"
135164 - " --lnd.host=lndclient:10009"
136165 - " --lnd.macaroonpath=/root/.lnd/data/chain/bitcoin/regtest/admin.macaroon"
137166 - " --lnd.tlspath=/root/.lnd/tls.cert"
138167
168+ etcd :
169+ image : bitnami/etcd:3.3.12
170+ platform : linux/amd64
171+ container_name : etcd
172+ hostname : etcd
173+ networks :
174+ regtest :
175+ aliases :
176+ - etcd
177+ restart : unless-stopped
178+ ports :
179+ - " 2379:2379"
180+ - " 2380:2380"
181+ environment :
182+ - ALLOW_NONE_AUTHENTICATION=yes
183+
139184networks :
140185 regtest :
141186
142187volumes :
143188 bitcoind :
144189 lndserver :
145190 lndclient :
191+ loopserver :
192+ loopclient :
193+ aperture :
0 commit comments