Environment Configuration

ProtonStack Environment Configuration


Environment Configuration in ProtonStack

ProtonStack utilizes environment variables for configuration, allowing you to manage sensitive information and customize various aspects of your application. Create a .env file in your project's root directory with the following example variables:

    NEXT_PUBLIC_APP_URL=http://localhost:3000
    NEXT_TELEMETRY_DISABLED=1

    NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
    CLERK_SECRET_KEY=
    NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
    NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
    NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/dashboard
    NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/onboarding

    NEXT_PUBLIC_MULTI_TENANT=true

    NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
    STRIPE_SECRET_KEY=
    STRIPE_WEBHOOK_SECRET=

    DATABASE_URL='mysql:....................'