Environment variables
Everything Goatside reads from its environment, and what each one does.
Goatside checks its environment the first time it needs it, and fails with one message
listing every missing or invalid variable. On Vercel, set them under Settings →
Environment Variables. Locally, copy apps/goatside/.env.example to apps/goatside/.env.local
and fill it in. vercel env pull copies the values set on Vercel into that file.
Required
| Variable | What it is |
|---|---|
GOATSIDE_USERNAME | Your username. There's exactly one account. |
GOATSIDE_PASSWORD | Your password, at least 12 characters. |
SESSION_SECRET | At least 32 characters, used to sign your sign-in cookies. Generate one with openssl rand -base64 32. |
TURSO_DATABASE_URL | Your database. libsql://… for Turso; locally, http://127.0.0.1:8080 from pnpm db:dev. The Vercel Marketplace sets it for you. |
Changing the username, password or session secret signs out every device. See Sign-in and security.
Optional
| Variable | Default | What it is |
|---|---|---|
TURSO_AUTH_TOKEN | Your Turso token. Needed for Turso, not for the local database. The Vercel Marketplace sets it for you. | |
AI_GATEWAY_API_KEY | An AI Gateway key. Not needed on Vercel, where the project's OIDC token signs in. Needed locally or on another host for the agent to work. | |
DECISION_MODEL | typesafe-ai/jev | The model that files entries. Any AI Gateway model ID. |
CHAT_MODEL | deepseek/deepseek-v4.1-flash | The model that answers your questions. Any AI Gateway model ID. |
Not in the environment
- Time zone. Set it in the app under Settings. It decides which day an entry
belongs to, and defaults to
Asia/Manila. - Currency. Set it in the app under Settings. Every amount shows in it, and it defaults to Philippine pesos. Changing it relabels your amounts. It doesn't convert them.