You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,17 @@ Edit the fly.toml
60
60
LNBITS_URL='https://your.lnbits.here.com'
61
61
```
62
62
63
-
NOTE: Don't enter secret environment variables here (admin and invoice key). Fly.io offers secrets (via the fly secrets command) that are exposed as environment variables in your runtime. Example: you can run fly secrets set BOT_TOKEN=<bot_token_here>.
63
+
NOTE: Don't enter secret environment variables here (admin and invoice key). Fly.io offers secrets (via the fly secrets command) that are exposed as environment variables in your runtime. Example: you can run
64
+
65
+
```
66
+
67
+
$ fly secrets set BOT_TOKEN=<bot_token_here>.
68
+
$ fly secrets set ADMIN_KEY=<admin key here>
69
+
$ fly secrets set INVOICE_KEY=<invoice key here>
70
+
71
+
```
72
+
73
+
Also see: https://fly.io/docs/reference/secrets/#setting-secrets
64
74
65
75
See the .env.example for other variables that need to be set as secrets.
0 commit comments