Skip to content

Commit d47ca90

Browse files
committed
Update README
1 parent 7c66e84 commit d47ca90

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

samples/mastra-nextjs/README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ To run the application locally for development, use the development compose file
2626
docker compose -f compose.dev.yaml up
2727
```
2828

29+
### `GOOGLE_GENERATIVE_AI_API_KEY`
30+
31+
When running locally with Docker Compose, you will need to set the `GOOGLE_GENERATIVE_AI_API_KEY` environment variable to your GCP API key. You can get the API key from the [Google AI Studio](https://aistudio.google.com/).
32+
33+
### `LLM_MODEL`
34+
35+
When running locally with Docker Compose, you are limited to the models on this list: [Google models](https://mastra.ai/models/providers/google).
36+
2937
This will:
3038

3139
- Start PostgreSQL with volume persistence for local development
@@ -44,17 +52,13 @@ The password for your Postgres database. You need to set this before deploying f
4452

4553
_You can easily set this to a random string using `defang config set POSTGRES_PASSWORD --random`_
4654

47-
### `DEFANG_PROVIDER`
48-
49-
Set to `gcp` when deploying to Google Cloud, or `aws` when deploying to AWS.
50-
51-
### `DEFANG_GCP_PROJECT` (Only for GCP deployments)
55+
### `GOOGLE_VERTEX_PROJECT` (Only for GCP deployments)
5256

53-
The GCP project ID where you want to deploy the application. You can find this in the [GCP Console](https://console.cloud.google.com/).
57+
The GCP project ID where you want to deploy the application. You can find this in the [GCP Console](https://console.cloud.google.com/). This environment variable is used in this library: [google-vertex-ai](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex).
5458

55-
### `DEFANG_GCP_LOCATION` (Only for GCP deployments)
59+
### `GOOGLE_VERTEX_LOCATION` (Only for GCP deployments)
5660

57-
The GCP region where you want to deploy the application. This should typically be set to `us-central1`, but you can change it to your preferred location.
61+
The GCP region where you want to deploy the application. This should typically be set to `us-central1`, but you can change it to your preferred location.This environment variable is used in this library: [google-vertex-ai](https://ai-sdk.dev/providers/ai-sdk-providers/google-vertex).
5862

5963
### `LLM_MODEL`
6064

0 commit comments

Comments
 (0)