Skip to content

Commit 6163c74

Browse files
committed
docs: update .env.example with all variables for the new docker-compose
1 parent 7166e1d commit 6163c74

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

.env.example

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,30 @@
11
# ============================================================
22
# RTMPayServer — Environment Configuration
3-
# Copy this file: cp .env.example .env
4-
# Then edit with your values before running docker compose up
3+
# Copy this file to .env and fill in your values
4+
# cp .env.example .env
55
# ============================================================
66

7-
# ── Raptoreum Node RPC ─────────────────────────────────────
8-
RTM_RPC_USER=rtmrpc
9-
RTM_RPC_PASSWORD=change_me_strong_password_1
10-
RTM_P2P_PORT=10226
7+
# ── Network ─────────────────────────────────────────────────
8+
# mainnet | testnet | regtest
9+
BITCOIN_NETWORK=mainnet
1110

12-
# ── Bitcoin Node RPC ───────────────────────────────────────
13-
BTC_RPC_USER=btcrpc
14-
BTC_RPC_PASSWORD=change_me_strong_password_2
15-
BTC_NETWORK=mainnet
16-
# Options: mainnet | testnet | regtest
11+
# ── BTCPayServer ─────────────────────────────────────────────
12+
# Your domain or IP, e.g.: pay.yourdomain.com or 1.2.3.4:23001
13+
BTCPAY_HOST=pay.yourdomain.com
14+
BTCPAY_PORT=23001
1715

18-
# ── PostgreSQL ─────────────────────────────────────────────
19-
POSTGRES_USER=btcpay
20-
POSTGRES_PASSWORD=change_me_strong_password_3
16+
# ── PostgreSQL ───────────────────────────────────────────────
17+
POSTGRES_PASSWORD=change_me_strong_password
2118

22-
# ── BTCPayServer ───────────────────────────────────────────
23-
# Your domain or IP address (no http://, no trailing slash)
24-
BTCPAY_HOST=your-domain.com
25-
BTCPAY_PORT=23000
19+
# ── Bitcoin Core RPC ─────────────────────────────────────────
20+
BTC_RPC_USER=btcrpc
21+
BTC_RPC_PASSWORD=change_me_strong_password
22+
# RPC port: mainnet=8332, testnet=18332, regtest=18443
23+
BTC_RPC_PORT=8332
24+
# P2P port: mainnet=8333, testnet=18333, regtest=18444
25+
BTC_P2P_PORT=8333
2626

27-
# ── Lightning Network (optional) ───────────────────────────
28-
LIGHTNING_ALIAS=MyRTMPayNode
27+
# ── Raptoreum (RTM) — optional ───────────────────────────────
28+
# Uncomment and fill in if you enable the raptoreumd service
29+
# RTM_RPC_USER=rtmrpc
30+
# RTM_RPC_PASSWORD=change_me_strong_password

0 commit comments

Comments
 (0)