File tree Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Expand file tree Collapse file tree 2 files changed +58
-0
lines changed Original file line number Diff line number Diff line change 2
2
Self hosted Lightning Address Server and NIP-05 Verification Server
3
3
<br ></br >
4
4
5
+ ### For Docker:
6
+
7
+ - Check the Dockerfile and the same-docker-compose.yml file.
8
+
5
9
### To build from source:
6
10
Pre-requisites:
7
11
You will need rust installed.
Original file line number Diff line number Diff line change
1
+ version : " 3.9"
2
+ services :
3
+ lnd :
4
+ container_name : lnd
5
+ image : docker.io/lightninglabs/lnd:v0.16.0-beta
6
+ restart : unless-stopped
7
+ volumes :
8
+ - /root/.lnd:/root/.lnd
9
+ ports :
10
+ - " 9735:9735"
11
+ - " 10009:10009"
12
+ - " 8080:8080"
13
+ command :
14
+ lnd
15
+
16
+ rustdress :
17
+ container_name : rustdress
18
+ image : docker.io/niteshbalusu/rustdress:amd64 # or docker.io/niteshbalusu/rustdress:arm64
19
+ depends_on : [lnd]
20
+ restart : on-failure
21
+ ports :
22
+ - " 5000:5000"
23
+ environment :
24
+ - USERNAME=your_username
25
+ - DOMAIN=your_domain
26
+ - CERT_HEX=your_cert_hex
27
+ - MACAROON_HEX=your_macaroon_hex
28
+ - SOCKET=lnd:10009
29
+ - HOST=0.0.0.0
30
+ - PORT=5000
31
+ - INCLUDE_HOP_HINTS=true
32
+ - NOSTR_PRIVATE_KEY=random_nostr_private_key
33
+ - NIP_05_PUBKEY=your_nostr_pubkey
34
+ - RELAYS=wss://relay.nostr.band, wss://brb.io
35
+
36
+ caddy :
37
+ container_name : caddy # caddy is a reverse proxy that will handle the SSL certificate and redirect traffic to rustdress
38
+ image : caddy:2.6.4
39
+ restart : on-failure
40
+ depends_on : [rustdress]
41
+ ports :
42
+ - " 80:80"
43
+ - " 443:443"
44
+ - " 443:443/udp"
45
+ volumes :
46
+ - /root/Caddyfile:/etc/caddy/Caddyfile
47
+ - /root/caddy/data:/data
48
+ - /root/caddy/config:/config
49
+
50
+ networks :
51
+ default :
52
+ name : lnd_network
53
+ external : true
54
+
You can’t perform that action at this time.
0 commit comments