GitDeployHub

anis-marrouchi/hexabot

github.com/anis-marrouchi/hexabot ↗
Node.js API
20 environment variables found in packages/api/.env.example

Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow. (showing first 20, more exist in packages/api/.env.example)

  • PORT Runtime & networking TCP port exposed by the API process inside the container.
  • NODE_ENV Node runtime environment label (switch to production for deployment).
  • APP_DOMAIN Public domain served by nginx and certbot during deployments.
  • SSL_EMAIL Contact email used when requesting Let's Encrypt certificates.
  • API_ORIGIN External URL exposed by the API container (used for links in emails, etc.).
  • FRONTEND_BASE_URL Public origin for the web UI that nginx should proxy.
  • FRONTEND_ORIGIN Comma-separated list of origins allowed by CORS and Socket.IO.
  • SSO_ENABLED Enables optional single-sign-on integrations.
  • HTTPS_ENABLED Set to true when TLS is terminated before the API (affects trust proxy and cookies).
  • API_IS_PRIMARY_NODE Only the primary API node should run auto-migrations in a clustered setup.
  • I18N_TRANSLATION_FILENAME Translation file name (without extension) loaded by the i18n subsystem.
  • HEXABOT_CLI Enables Nest Commander CLI execution when set to true.
  • SEED_ADMIN_FIRST_NAME Default admin user seeded on first startup in non-production environments.
  • SEED_ADMIN_LAST_NAME Default admin user last name used during initial seeding.
  • SEED_ADMIN_EMAIL Default admin user email used during initial seeding.
  • SEED_ADMIN_PASSWORD secret Default admin user password used during initial seeding.
  • SESSION_SECRET secret Sessions & security Secret used to sign and encrypt Sails sessions; always change in production.
  • SESSION_NAME Name of the session cookie shared across the stack.
  • SESSION_MAX_AGE Session cookie lifetime in milliseconds (default 24h).
  • SESSION_CLEANUP_LIMIT Number of sessions cleaned per sweep (0 disables the limit).
Alternative Fly.io Anything Dockerized — requires the Fly CLI.
macOS
brew install flyctl && fly launch --from https://github.com/anis-marrouchi/hexabot
Linux
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/anis-marrouchi/hexabot
Windows (PowerShell)
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/anis-marrouchi/hexabot
Or deploy to a different host
← Try another repo