-
Notifications
You must be signed in to change notification settings - Fork 1
/
sample-docker-compose.yaml
54 lines (50 loc) · 1.31 KB
/
sample-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
version: "3.9"
services:
lnd:
container_name: lnd
image: docker.io/lightninglabs/lnd:v0.16.0-beta
restart: unless-stopped
volumes:
- /root/.lnd:/root/.lnd
ports:
- "9735:9735"
- "10009:10009"
- "8080:8080"
command:
lnd
rustdress:
container_name: rustdress
image: docker.io/niteshbalusu/rustdress:amd64 # or docker.io/niteshbalusu/rustdress:arm64
depends_on: [lnd]
restart: on-failure
ports:
- "5000:5000"
environment:
- USERNAME=your_username
- DOMAIN=your_domain
- CERT_HEX=your_cert_hex
- MACAROON_HEX=your_macaroon_hex
- SOCKET=lnd:10009
- HOST=0.0.0.0
- PORT=5000
- INCLUDE_HOP_HINTS=true
- NOSTR_PRIVATE_KEY=random_nostr_private_key
- NIP_05_PUBKEY=your_nostr_pubkey
- RELAYS=wss://relay.nostr.band, wss://brb.io
caddy:
container_name: caddy # caddy is a reverse proxy that will handle the SSL certificate and redirect traffic to rustdress
image: caddy:2.6.4
restart: on-failure
depends_on: [rustdress]
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- /root/Caddyfile:/etc/caddy/Caddyfile
- /root/caddy/data:/data
- /root/caddy/config:/config
networks:
default:
name: lnd_network
external: true