diff --git a/docs/faq/how-can-i-deploy-my-hexabot-project.md b/docs/faq/how-can-i-deploy-my-hexabot-project.md index 42172a34..c6fc0764 100644 --- a/docs/faq/how-can-i-deploy-my-hexabot-project.md +++ b/docs/faq/how-can-i-deploy-my-hexabot-project.md @@ -66,7 +66,7 @@ This command will copy the `.env.example` file to `.env` in the `./docker` direc 4. Update your `.env` file for production, especially the following ones: -
Variable NameExample ValueEnv variable description
NODE_ENVprodEnvironment Mode
APP_DOMAINmychatbot.aiApplication Domain Name
API_ORIGINhttps://mychatbot.ai/apiThe api endpoint will be used to communicate with the backend
FRONTEND_ORIGINhttps://mychatbot.aiThe origins that will be accepted by the API
JWT_SECRET346998ba1f171f107433Secret to encrypt jwt token
SESSION_SECRET27feaf70d2c78892bf49Secret to encrypt session token
HTTPS_ENABLEDtrueHttps setting
INVITATION_JWT_SECRET51c8ea00d82eb10ee226Secret to encrypt invitation token
PASSWORD_RESET_JWT_SECRET5ee97916017176d1ca6cSecret to encrypt reset password token
CONFIRM_ACCOUNT_SECRET80f74dce70e5385bf80bSecret to encrypt confirm account token
MONGO_USERmy_mongo_usernameMongodb username
MONGO_PASSWORDmy_mongo_passwordMongodb password
AUTH_TOKENc97643c1c1e5e9dc5745Secret to encrypt NLU token
NEXT_PUBLIC_API_ORIGINhttps://mychatbot.ai/apiNextjs api endpoint
+
Variable NameExample ValueEnv variable description
NODE_ENVprodEnvironment Mode
APP_DOMAINmychatbot.aiApplication Domain Name
API_ORIGINhttps://mychatbot.ai/apiThe API endpoint will be used to communicate with the backend
FRONTEND_BASE_URLhttps://mychatbot.ai:8080The API endpoint will be used to communicate with the frontend
FRONTEND_ORIGINhttp://mychatbot.ai, https://mychatbot.aiThe origins that will be accepted by the API. A list of permitted origins for cross-origin requests
JWT_SECRET346998ba1f171f107433Secret to encrypt JWT token
SESSION_SECRET27feaf70d2c78892bf49Secret to encrypt session token
HTTPS_ENABLEDtrueHttps setting
INVITATION_JWT_SECRET51c8ea00d82eb10ee226Secret to encrypt invitation token
PASSWORD_RESET_JWT_SECRET5ee97916017176d1ca6cSecret to encrypt reset password token
CONFIRM_ACCOUNT_SECRET80f74dce70e5385bf80bSecret to encrypt confirm account token
MONGO_USERmy_mongo_usernameMongodb username
MONGO_PASSWORDmy_mongo_passwordMongodb password
AUTH_TOKENc97643c1c1e5e9dc5745Secret to encrypt NLU token
NEXT_PUBLIC_API_ORIGINhttps://mychatbot.ai/apiNext.js API endpoint
Note that you can also adjust the default token expirations durations as needed.