Environment Variables
Configuring Environment Variables for Transcript Seeker.
Let's learn how to configure environment variables for Transcript Seeker.
Transcript Seeker uses dotenv-cli
to load the environment variables, making it easy for development.
Transcript Seeker follows this structure for different environments:
.env.development.local
for development.env.production.local
for production
You can load a specific environment file by running the following command:
Now, let's configure the environment variables.
Client
Create a .env.development.local
file in the below directory of your project and add the following environment variables:
Vite Port Configuration
These values are used by vite to configure the url the server listens on.
Proxy Configuration
This Proxy URL is used to forward requests from the client to the respective server, helping to avoid client-side CORS errors. An example proxy server is provided in the repository.
API Configuration
This API URL is used by the calendars functionality of Transcript Seeker. It allows the app to perform authentication and retrieve the user's calendar data.
S3 Configuration
This environment variable is used to indicate to the client where the video recordings are stored.
Proxy
Create a .env.development.local
file in the below directory of your project and add the following environment variables:
MeetingBaas Proxy Configuration
These values are used by the api to figure out the api url for baas servers.
API
Create a .env.development.local
file in the below directory of your project and add the following environment variables:
MeetingBaas Configuration
These values are used by the api to figure out the api url for baas servers.
Google Authentication Configuration
These values are used by the api to perform google authentication. Please follow the guide for more details:
Turso Database Configuration
These values are used by the api to store user autehtncation data. Please follow the guide for more details:
Authentication Configuration
When deploying to Google Cloud Run with a custom domain, you should set the
BETTER_AUTH_URL
environment variable to the custom domain.
These values are used by the api to perform authentication. Please follow the guide for more details:
The API_TRUSTED_ORIGINS
is not only used for authentication but also
for CORS configuration.