-
Notifications
You must be signed in to change notification settings - Fork 4
/
.env.sample
39 lines (30 loc) · 1.05 KB
/
.env.sample
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
# Your pubkey, in hex format
OWNER_PUBKEY="xxxxxxxxxxxxxxxxxxxxxxxxxxx...xxx"
# Relay info, for NIP-11
RELAY_NAME="YourRelayName"
RELAY_DESCRIPTION="Your relay description"
RELAY_URL="wss://chronicle.xxxxxxxx.com"
RELAY_ICON="https://chronicle.xxxxxxxx.com/web/icon.png"
RELAY_CONTACT="your_email_or_website"
# The port where the relay is esposed
RELAY_PORT="3334"
# The relay pubkey, in hex format
RELAY_PUBKEY="YourPublicKey"
# The path you would like the database to be saved
# The path can be relative to the binary, or absolute
DB_PATH="db/"
# Where we should store the index.html and static files
# The path can be relative to the binary, or absolute
WEB_PATH="web/"
# Interval in hours to refresh the web of trust
REFRESH_INTERVAL=24
# How many followers before they're allowed in the WoT
MIN_FOLLOWERS=3
# Periodically try fetch notes from other relays
FETCH_SYNC="FALSE"
# Whitelist events and/or DMs by PoW
# A positivie value enable the whitelist
# Empty disables the whitelist
# Zero (0) disables WoT - not recommended!
POW_WHITELIST=
POW_DM_WHITELIST=