# (Optional) By default, the AIO container (when in subpath access mode) exposes the endpoint on port 80. Use this setting to specify a different port if needed. HOPP_AIO_ALTERNATE_PORT=80
# Recommended to be true. Set to false if you are using http. # Note: Some auth providers may not support http requests and may stop working when set to false. ALLOW_SECURE_COOKIES=true
# Sensitive Data Encryption Key while storing in Database (32 character) DATA_ENCRYPTION_KEY=********************************
# Terms Of Service And Privacy Policy Links (Optional) VITE_APP_TOS_LINK=https://docs.hoppscotch.io/support/terms VITE_APP_PRIVACY_POLICY_LINK=https://docs.hoppscotch.io/support/privacy
# Set to `true` for subpath based access ENABLE_SUBPATH_BASED_ACCESS=true
#-----------------------Backend Config------------------------------# # Prisma Config DATABASE_URL=postgresql://username:password@url:5432/dbname # or replace with your database URL
# (Optional) By default, the AIO container (when in subpath access mode) exposes the endpoint on port 80. Use this setting to specify a different port if needed. HOPP_AIO_ALTERNATE_PORT=80
# Auth Tokens Config JWT_SECRET=secretcode123 TOKEN_SALT_COMPLEXITY=10 MAGIC_LINK_TOKEN_VALIDITY=3 REFRESH_TOKEN_VALIDITY=604800000 # Default validity is 7 days (604800000 ms) in ms ACCESS_TOKEN_VALIDITY=86400000 # Default validity is 1 day (86400000 ms) in ms SESSION_SECRET=anothersecretcode123
# Recommended to be true. Set to false if you are using http. # Note: Some auth providers may not support http requests and may stop working when set to false. ALLOW_SECURE_COOKIES=true
# Sensitive Data Encryption Key while storing in Database (32 character) DATA_ENCRYPTION_KEY=********************************
# Microsoft Auth Config MICROSOFT_CLIENT_ID=***** MICROSOFT_CLIENT_SECRET=***** MICROSOFT_CALLBACK_URL=http://localhost:3170/v1/auth/microsoft/callback MICROSOFT_SCOPE=user.read MICROSOFT_TENANT=common
# Mailer config MAILER_SMTP_ENABLE=true MAILER_USE_CUSTOM_CONFIGS=false MAILER_ADDRESS_FROM=<[email protected]> MAILER_SMTP_URL=smtps://[email protected]:[email protected] # used if custom mailer configs is false # The following are used if custom mailer configs is true MAILER_SMTP_HOST=smtp.domain.com MAILER_SMTP_PORT=587 MAILER_SMTP_SECURE=true [email protected] MAILER_SMTP_PASSWORD=pass MAILER_TLS_REJECT_UNAUTHORIZED=true
# Rate Limit Config RATE_LIMIT_TTL=60 # In seconds RATE_LIMIT_MAX=100 # Max requests per IP
# Terms Of Service And Privacy Policy Links (Optional) VITE_APP_TOS_LINK=https://docs.hoppscotch.io/support/terms VITE_APP_PRIVACY_POLICY_LINK=https://docs.hoppscotch.io/support/privacy
# Set to `true` for subpath based access ENABLE_SUBPATH_BASED_ACCESS=false