## DEV ENV NODE_ENV= # Port on which the business logic endpoints are served PORT= # Port on which metrics and analytics data is served. It is used to allow different firewall rules for accessing the service SECONDARY_PORT= # Server host name HOST_NAME= # Timeout (in ms) for the websocket connections to close gracefully on server shutdown. After that, the connection is destroyed unilateraly WEBSOCKET_CLOSE_TIMEOUT= # Google Gemini AI key GOOGLE_AI_KEY= ########### # Logging # ########### # Debug namespaces (comma-separated, supports wildcards like "engine:*") DEBUG= # Logging format: 'local' (colorized) or 'json' (structured). Auto-detects if not set. LOG_FORMAT=local # Show detailed logs with stack traces and verbose data DETAILED_LOGS=true # Silence all logging output SILENCE_REPORT=true # Request size limit for JSON and URL-encoded bodies REQUEST_SIZE_LIMIT=1mb # Max file upload size for multipart/form-data (examples: 32MB, 5MB) # This is used by the file upload middleware as a global per-file limit. UPLOAD_MAX_SIZE=32MB # Maximum size in bytes of an incoming WebSocket message (default: 1048576 = 1MiB) WS_MAX_PAYLOAD=1048576 # Opt-in verification bypass for a single review account (leave empty to disable) VERIFICATION_BYPASS_SUBJECT= VERIFICATION_BYPASS_OTP= ####### # TLS # ####### # Private key of the server TLS_SERVER_KEY= # Passphrase to decrypt the private key TLS_SERVER_KEY_PASSPHRASE= # Certificate of the server TLS_SERVER_CERT= # Certificate of the certifying authority TLS_CA= # Private key used to make a TLS request # Defaults to the server key if not specified TLS_REQUEST_KEY= # Passphrase to decrypt the private key used to make a TLS request # Defaults to the server passphrase if not specified TLS_REQUEST_KEY_PASSPHRASE= # Certificate used to make a TLS request # Defaults to the server certificate if not specified TLS_REQUEST_CERT= # Certificate of the certifying authority used to make a TLS request # Defaults to the server certificate of the certifying authority if not specified TLS_REQUEST_CA= # List of clients hosts allowed to make a request # Comma separated string ALLOWED_CLIENT_HOSTS= ######################## # Token Authentication # ######################## # Audience requirement of the current service ACCESS_TOKEN_AUDIENCE= # URL of the authorization service, serves as an issuer requirement AUTH_SERVICE_URL= PRIVATE_KEY_PATH= ######### # Redis # ######### # Host for redis REDIS_HOST= # Port for redis connection REDIS_PORT= # Password to connect to redis REDIS_PASSWORD= # Is redis setup as a cluster ('true'/'false') REDIS_CLUSTER= # CORS - single origin or comma separated list (defaults to * when empty) CORS_ORIGIN=localhost # IP FILTER VALID_IPS='::ffff:127.0.0.1,127.0.0.1,::1' # testing secret JWT_SECRET='bad example secret' # hmac testing secret PAYLOAD_SIGNATURE_SECRET='bad signature secret' ########### # Pub/Sub # ########### # Google Cloud project GC_PROJECT= # Key file to connecto to Google Cloud GC_KEYFILE= # Default Pub/Sub topic PUBSUB_EVENT_TOPIC= # Pub/Sub topic for analytics PUBSUB_ANALYTICS_TOPIC= # Pub/Sub topic for cache invalidation PUBSUB_CACHE_TOPIC= # Subscriptions for the legacy topic on which model updates are propagated PUBSUB_UPDATE_SUBSCRIPTION= # secret Hash params HASH_SECRET= HASH_SALT= ########## # Elastic Search # ########## # The path link to Elastic Search migration data ELASTIC_SEARCH_MIGRATION_PATH= # The elastic search host url ELASTIC_SEARCH_HOST= # The elastic search user name ELASTIC_SEARCH_USERNAME='' # The elastic search password ELASTIC_SEARCH_PASSWORD='' ########### # Database # ########### # SQL database host SQL_HOST= # SQL database user SQL_USER= # SQL database password SQL_PASSWORD= # SQL database name SQL_DB= # Indicates whether trigger the run migrations automatically or not RUN_MIGRATION= # Indicates whether trigger the run un migrations automatically or not UNDO_MIGRATION= # Indicate the path of the directory where the datbase migrations are DB_MIGRATIONS_DIR= # Default message Audience DEFAULT_MESSAGE_AUDIENCE= ########### # SMTP Configuration # ########### # Local offline dev (no MySQL/Postgres): use SQLite file (requires sqlite3; see package.json) # SQL_TYPE=sqlite # SQL_STORAGE=database.sqlite # (omit SQL_HOST / SQL_USER / SQL_PASSWORD when using sqlite) # The SMTP server host (e.g., smtp.gmail.com, smtp.mailtrap.io) SMTP_HOST=smtp.example.com # The SMTP port (e.g., 587 for TLS, 465 for SSL, 25 for insecure) SMTP_PORT=587 # SMTP authentication username (your email address or username) SMTP_USER=your-email@example.com # SMTP authentication password (your email password or app password) SMTP_PASS=your-email-password # Set to 'false' only if your SMTP server uses a self-signed certificate (certificate is verified by default) SMTP_TLS_REJECT_UNAUTHORIZED=true FILE_STORAGE_FOLDER=./uploads ########### # AWS S3 # ########### # AWS region (e.g., us-east-1) AWS_REGION= # AWS credentials (leave blank to use instance role/IMDS) AWS_ACCESS_KEY_ID= AWS_SECRET_ACCESS_KEY= AWS_SESSION_TOKEN= # S3-compatible endpoint (MinIO/LocalStack) AWS_S3_ENDPOINT= # Force path-style addressing ('true'/'false') AWS_S3_FORCE_PATH_STYLE= ################ # User Service # ################ # URL where the user service is located USER_SERVICE_URL= # Attributes of the users to fetch # Comma separated list of attributes to fetch from the user Service # (ex: name,permissions,..) all -> for retrun everything USER_FETCHED_ATTRIBUTES= ##################### # Cloud Deployment # ##################### # GCP Project ID (required for Secret Manager) GCP_PROJECT_ID= # Kubernetes pod name (auto-set by Kubernetes) # KUBERNETES_POD_NAME= # Cloud Run job name (auto-set by GCP) # CLOUD_RUN_JOB= # Chart/service name for logging context # CHART= # Build ID for version tracking # BUILD_ID= # Hostname for service identification # HOSTNAME=