you gonna need these envs
these are optional if you wanna use turso to host your database, leave empty and it will create a .db on the build folder
TURSO_DATABASE_URL=""
TURSO_AUTH_TOKEN=""
these are required for the authentication system and validate requests, you can get it on firebase
TYPE="service_account"
PROJECT_ID=""
PRIVATE_KEY_ID=""
PRIVATE_KEY=""
CLIENT_EMAIL=""
CLIENT_ID=""
CLIENT_CERT_URL=""
UTH_URI="https://accounts.google.com/o/oauth2/auth"
TOKEN_URI="https://oauth2.googleapis.com/token"
AUTH_CERT_URL="https://www.googleapis.com/oauth2/v1/certs"
UNIVERSAL_DOMAIN="googleapis.com"
docker build -t poring-adventure .
docker run -d -p 8000:8000 poring-adventure
how to generate a new migration on tursodb
npx prisma migrate dev --name init
turso db shell default < ./src/core/prisma/migrations/{migration_folder}/migration.sql