Skip to content

Commit 4a0f33b

Browse files
committed
BYOC compose for GCP
1 parent c906edb commit 4a0f33b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

samples/mastra-nextjs/compose.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
services:
22
app:
3-
domainname: example.com
43
x-defang-llm: true
54
build:
65
context: ./app
76
dockerfile: Dockerfile
87
environment:
98
- DB_URL=postgres://postgres:${POSTGRES_PASSWORD}@database:5432/postgres
109
- DB_SSL=true # set this to false if deploying to defang playground, true otherwise
11-
- GOOGLE_VERTEX_PROJECT= # your GCP project ID
12-
- GOOGLE_VERTEX_LOCATION= # your GCP region, e.g., us-central1
10+
- GOOGLE_VERTEX_PROJECT= # To deploy to GCP, please enter your GCP project ID
11+
- GOOGLE_VERTEX_LOCATION= # To deploy to GCP, please enter your GCP region, e.g., us-central1
1312
- LLM_MODEL # gemini-2.5-flash for GCP, anthropic.claude-3-5-sonnet-20241022-v2:0 for AWS
1413
- GITHUB_TOKEN # optional, remove this line if unused
1514
restart: unless-stopped

0 commit comments

Comments
 (0)