No description
| prisma | ||
| src | ||
| types | ||
| .dockerignore | ||
| .env | ||
| .gitignore | ||
| bun.lock | ||
| cloudbuild.yaml | ||
| dev-docker-compose.yml | ||
| Dockerfile | ||
| eslint.config.mjs | ||
| next.config.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
Infra Test
This repo contains code meant to test the functionality and connections between Cloud Run, Memorystore, and CloudSQL.
Running locally
- source .env
- docker compose -f ./dev-docker-compose.yml up -d
- bun install
- bun dev
Deploying
The actual infrastructure is deployed via Terraform and is located here: https://git.juliafasick.com/julia/code-battlegrounds-infra
- gcloud builds submit # to build image and deploy to artifact repo
- In the infra repo, run terraform init && terraform apply -var enable_redis
- For testing purposed, the site is not public, but can be accessed locally via ./proxy.sh in the infra repo.
Result