mirror of
https://github.com/hexastack/hexabot
synced 2024-12-28 06:42:23 +00:00
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
# API & Common
|
|
NODE_ENV=dev
|
|
APP_DOMAIN=localhost
|
|
SSL_EMAIL=hello@hexabot.ai
|
|
API_PORT=4000
|
|
APP_SCRIPT_COMPODOC_PORT=9003
|
|
API_ORIGIN=http://${APP_DOMAIN}:${API_PORT}
|
|
FRONTEND_ORIGIN=http://${APP_DOMAIN},http://${APP_DOMAIN}:8080,http://${APP_DOMAIN}:8081,http://${APP_DOMAIN}:5173,http://${APP_DOMAIN},http://${APP_DOMAIN}/*,*
|
|
JWT_SECRET=dev_only
|
|
JWT_EXPIRES_IN=60
|
|
SALT_LENGTH=12
|
|
HTTPS_ENABLED=false
|
|
SESSION_SECRET=f661ff500fff6b0c8f91310b6fff6b0c
|
|
SESSION_NAME=s.id
|
|
UPLOAD_DIR=/uploads
|
|
UPLOAD_MAX_SIZE_IN_BYTES=2000000
|
|
INVITATION_JWT_SECRET=dev_only
|
|
INVITATION_EXPIRES_IN=24h
|
|
PASSWORD_RESET_JWT_SECRET=dev_only
|
|
PASSWORD_RESET_EXPIRES_IN=1h
|
|
CONFIRM_ACCOUNT_SECRET=dev_only
|
|
CONFIRM_ACCOUNT_EXPIRES_IN=1h
|
|
FRONTEND_DOCKER_IMAGE=linuxtry
|
|
I18N_TRANSLATION_FILENAME=messages
|
|
|
|
# Mongo configs
|
|
APP_MONGO_EXPRESS_PORT=9000
|
|
MONGO_USER=dev_only
|
|
MONGO_PASSWORD=dev_only
|
|
MONGO_URI=mongodb://${MONGO_USER}:${MONGO_PASSWORD}@mongo:27017/
|
|
MONGO_DB=hexabot
|
|
|
|
# SMTP Config (for local dev env, use smtp4dev by doing `npx hexabot start --enable=smtp4dev`)
|
|
APP_SMTP_4_DEV_PORT=9002
|
|
EMAIL_SMTP_ENABLED=false
|
|
EMAIL_SMTP_HOST=smtp4dev
|
|
EMAIL_SMTP_PORT=25
|
|
EMAIL_SMTP_SECURE=false
|
|
EMAIL_SMTP_USER=dev_only
|
|
EMAIL_SMTP_PASS=dev_only
|
|
EMAIL_SMTP_FROM=noreply@example.com
|
|
|
|
# NLU Server
|
|
AUTH_TOKEN=token123
|
|
LANGUAGE_CLASSIFIER=language-classifier
|
|
INTENT_CLASSIFIERS=en,fr
|
|
TFLC_REPO_ID=Hexastack/tflc
|
|
INTENT_CLASSIFIER_REPO_ID=Hexastack/intent-classifier
|
|
SLOT_FILLER_REPO_ID=Hexastack/slot-filler
|
|
NLU_ENGINE_PORT=5000
|
|
BERT_MODEL_BY_LANGUAGE_JSON='{
|
|
"en": "bert-base-cased",
|
|
"fr": "dbmdz/bert-base-french-europeana-cased"
|
|
}'
|
|
# Huggingface Access token to download private models for NLU inference
|
|
HF_AUTH_TOKEN=
|
|
|
|
# Frontend (Next.js)
|
|
APP_FRONTEND_PORT=8080
|
|
NEXT_PUBLIC_API_ORIGIN=http://${APP_DOMAIN}:${API_PORT}/
|
|
NEXT_PUBLIC_SSO_ENABLED=false
|
|
|
|
# Widget
|
|
APP_WIDGET_PORT=5173
|
|
REACT_APP_WIDGET_API_URL=http://${APP_DOMAIN}:${API_PORT}
|
|
REACT_APP_WIDGET_CHANNEL=web-channel
|
|
|
|
# Redis
|
|
APP_REDIS_PORT=9001
|
|
REDIS_ENABLED=false
|
|
REDIS_HOST=redis
|
|
REDIS_PORT=6379
|
|
|