Skip to main content

Environment Variables - Staging and Production

Healy Environment Setup

Healy provides options for both staging and production environments to facilitate testing and deployment.

Staging Environment

  • Staging Deployment: Access the staging deployment of Healy at COMING SOON. This environment allows you to explore the application's features and functionality with sample data.

  • API Credentials:

    • Email: COMING SOON
    • Password: COMING SOON

    Use code with caution.

You can also register as a new user in the staging environment.

Production Environment

  • Production Deployment: The production deployment of Healy is available at COMING SOON. This environment reflects the latest stable version of the application.
  • API Credentials: For the production environment, you'll need to set up your own user accounts and API keys.

Environment Variables

Healy utilizes environment variables for configuration in both the front-end and back-end. These variables allow you to customize various aspects of the application's behavior.

Front-end Environment Variables (.env or .env.local):

VariableDescriptionDefault Value
NEXT_PUBLIC_API_URLBackend API URLhttps://ohn.foundation/api/
NEXT_PUBLIC_LOCAL_STORAGELocal storage key name for storing user preferencesHealy-storage
NEXT_PUBLIC_AI_NAMEName of the AI assistant displayed in the chat interfaceHealy AI
NEXT_PUBLIC_AI_DESCRIPTIONDescription of the AI assistant displayed on the home pageRevolutionizing medical diagnosis through AI
NEXT_PUBLIC_AI_WARNINGWarning message regarding the accuracy of AI-generated informationPlease be aware that Healy AI may...
NEXT_PUBLIC_GOOGLE_RECAPTCHA_SITE_KEYGoogle reCAPTCHA site key (optional)6Lerts4nAAAAAKyXaNZkYj4XfRO0M2R-XYIA3qv8

Back-end Environment Variables (.env):

VariableDescription
AI_NAMEName of the AI assistant (default: Healy)
OPENAI_API_KEYOpenAI API Key
PINECONE_API_KEYPinecone API Key
PINECONE_ENVIRONMENTPinecone Environment
PINECONE_INDEXPinecone Index Name
CURRENT_DOMAINCurrent Domain where the front-end is hosted (e.g., https://ohn.foundation/)
EMAIL_HOSTSES Email Host (Optional)
EMAIL_USERSES Email User (Optional)
EMAIL_PASSWORDSES Email Password (Optional)
GOOGLE_APPLICATION_CREDENTIALSGoogle Cloud Credentials (Optional) for Speech-to-Text
S3_SECRET_KEYAWS S3 Secret Key (Optional)
S3_KEY_IDAWS S3 Key ID (Optional)
S3_BUCKET_NAMEAWS S3 Bucket Name (Optional)
S3_REGIONAWS S3 Region (Optional)
GOOGLE_RECAPTCHA_SECRET_KEYGoogle reCAPTCHA Secret Key (Optional)
SELF_HOSTED_ENDPOINTURL for self-hosted speech-to-text (Optional)