Goatside

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

VariableWhat it is
GOATSIDE_USERNAMEYour username. There's exactly one account.
GOATSIDE_PASSWORDYour password, at least 12 characters.
SESSION_SECRETAt least 32 characters, used to sign your sign-in cookies. Generate one with openssl rand -base64 32.
TURSO_DATABASE_URLYour 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

VariableDefaultWhat it is
TURSO_AUTH_TOKENYour Turso token. Needed for Turso, not for the local database. The Vercel Marketplace sets it for you.
AI_GATEWAY_API_KEYAn 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_MODELtypesafe-ai/jevThe model that files entries. Any AI Gateway model ID.
CHAT_MODELdeepseek/deepseek-v4.1-flashThe 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.

On this page