File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,14 @@ Clone repository and enter directory:
9797 cd nostream
9898 ```
9999
100+ Generate a secret with: ` openssl rand -hex 128 `
101+ Copy the output and paste it into an ` .env ` file:
102+
103+ ```
104+ SECRET=aaabbbccc...dddeeefff
105+ # Secret shortened for brevity
106+ ```
107+
100108Start:
101109 ```
102110 ./scripts/start
@@ -185,8 +193,8 @@ Set the following environment variables:
185193 REDIS_PASSWORD=nostr_ts_relay
186194 ```
187195
188- If enabling payments, generate a long random secret and set SECRET:
189- You may want to use ` openssl rand -hex 128 ` to generate a secret.
196+ Generate a long random secret and set SECRET:
197+ You may want to use ` openssl rand -hex 128 ` to generate a secret.
190198
191199 ```
192200 SECRET=aaabbbccc...dddeeefff
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ services:
33 build : .
44 container_name : nostream
55 environment :
6+ SECRET : ${SECRET}
67 RELAY_PORT : 8008
78 # Master
89 NOSTR_CONFIG_DIR : /home/node/.nostr
You can’t perform that action at this time.
0 commit comments