1+ name : lnp2pbot
2+ services :
3+ - name : bot
4+ source_dir : /
5+ github :
6+ repo : your-username/lnp2pbot
7+ branch : main
8+ deploy_on_push : true
9+ dockerfile_path : Dockerfile
10+ instance_count : 1
11+ instance_size_slug : basic-xxs
12+ envs :
13+ # Telegram Configuration
14+ - key : BOT_TOKEN
15+ scope : RUN_TIME
16+ type : SECRET
17+
18+ # Lightning Network Configuration
19+ - key : LND_CERT_BASE64
20+ scope : RUN_TIME
21+ type : SECRET
22+ - key : LND_MACAROON_BASE64
23+ scope : RUN_TIME
24+ type : SECRET
25+ - key : LND_GRPC_HOST
26+ scope : RUN_TIME
27+ value : " your-lnd-node:10009"
28+
29+ # Database Configuration
30+ - key : MONGO_URI
31+ scope : RUN_TIME
32+ type : SECRET
33+
34+ # Telegram Channels
35+ - key : CHANNEL
36+ scope : RUN_TIME
37+ value : " @your_orders_channel"
38+ - key : ADMIN_CHANNEL
39+ scope : RUN_TIME
40+ value : " @your_admin_channel"
41+
42+ # Bot Configuration
43+ - key : NODE_ENV
44+ scope : RUN_TIME
45+ value : " production"
46+ - key : LANGUAGE
47+ scope : RUN_TIME
48+ value : " en"
49+ - key : LNURL_PUBLIC_URL
50+ scope : RUN_TIME
51+ value : " https://your-app.ondigitalocean.app"
52+
53+ # Lightning Network Settings
54+ - key : INVOICE_EXPIRY_WINDOW
55+ scope : RUN_TIME
56+ value : " 3600"
57+ - key : HOLD_INVOICE_EXPIRY_WINDOW
58+ scope : RUN_TIME
59+ value : " 3600"
60+ - key : PENDING_PAYMENT_WINDOW
61+ scope : RUN_TIME
62+ value : " 300"
63+ - key : MAX_ROUTING_FEE
64+ scope : RUN_TIME
65+ value : " 100"
66+ - key : CLTV_DELTA
67+ scope : RUN_TIME
68+ value : " 40"
69+
70+ # Trading Configuration
71+ - key : MAX_ORDERS_BY_USER
72+ scope : RUN_TIME
73+ value : " 1"
74+ - key : ORDER_EXPIRY_WINDOW
75+ scope : RUN_TIME
76+ value : " 3600"
77+ - key : FIAT_SENT_EXPIRY_WINDOW
78+ scope : RUN_TIME
79+ value : " 7200"
80+ - key : MAX_PAYMENT_ATTEMPTS
81+ scope : RUN_TIME
82+ value : " 3"
83+ - key : PAYMENT_ATTEMPTS_WINDOW
84+ scope : RUN_TIME
85+ value : " 1800"
86+
87+ # Optional: Proxy Configuration
88+ # - key: SOCKS_PROXY_HOST
89+ # scope: RUN_TIME
90+ # value: "your-proxy-host:port"
91+
92+ # Optional: Nostr Integration
93+ # - key: NOSTR_PRIVATE_KEY
94+ # scope: RUN_TIME
95+ # type: SECRET
96+ # - key: NOSTR_RELAYS
97+ # scope: RUN_TIME
98+ # value: "wss://relay1.com,wss://relay2.com"
99+
100+ databases :
101+ - name : lnp2pbot-db
102+ engine : MONGODB
103+ version : " 5"
104+ size : basic-xs
0 commit comments