Skip to content

Scripts

Location:

  • apps/backend/kubernetes/scripts/

Creates/updates Kubernetes Secret and ConfigMap resources from your environment or apps/backend/kubernetes/.env.

Terminal window
cd apps/backend/kubernetes
./scripts/setup-config.sh

See Configuration for what is created.

Applies the Prisma schema to a PostgreSQL database.

  • Host tooling mode:
Terminal window
cd apps/backend/kubernetes
./scripts/migrate-db.sh
  • Docker mode (uses the db-migrate service in apps/backend/kubernetes/docker-compose.yml):
Terminal window
cd apps/backend/kubernetes
./scripts/migrate-db.sh --docker