docs: 📝 Better explain base url config
This commit is contained in:
@ -14,7 +14,7 @@ When running a Typebot on your machine, the following configuration parameters c
|
||||
|
||||
## Builder & Viewer
|
||||
|
||||
These variables are shared between builder and viewer. If you host them in a different environments then it needs to be set in both environments.
|
||||
The following variables are shared between builder and viewer. If you host them in a different environment then it needs to be set in both environments.
|
||||
|
||||
### Global
|
||||
|
||||
@ -23,9 +23,9 @@ These variables are shared between builder and viewer. If you host them in a dif
|
||||
| DATABASE_URL | -- | The database URL, i.e. for external db server `postgres://user:password@ip.or.domain.to.server/database_name` |
|
||||
| ENCRYPTION_SECRET | SgVkYp2s5v8y/B?E(H+MbQeThWmZq4t6 | A 256-bit key used to encrypt sensitive data. It is strongly recommended to [generate](https://www.allkeysgenerator.com/Random/Security-Encryption-Key-Generator.aspx) a new one. |
|
||||
| ADMIN_EMAIL | -- | The email that will get a "Pro" plan on user creation |
|
||||
| NEXTAUTH_URL | http://localhost:3000 | The builder base URL |
|
||||
| NEXTAUTH_URL_INTERNAL | -- | The internal builder base URL when `NEXTAUTH_URL` isn't publicly accessible (optionnal) |
|
||||
| NEXT_PUBLIC_VIEWER_URL | http://localhost:3001 | The viewer base URL |
|
||||
| NEXTAUTH_URL | http://localhost:3000 | The builder base URL. Should be the publicly accessible URL (i.e. `https://app.typebot.io`) |
|
||||
| NEXTAUTH_URL_INTERNAL | -- | The internal builder base URL. You have to set it only when `NEXTAUTH_URL` isn't publicly accessible |
|
||||
| NEXT_PUBLIC_VIEWER_URL | http://localhost:3001 | The viewer base URL. Should be the publicly accessible URL (i.e. `https://typebot.io`) |
|
||||
|
||||
### SMTP (optional)
|
||||
|
||||
|
Reference in New Issue
Block a user