Database
Overview
An overview of the database setup and management using Prisma.
Zero Configuration Required
GoLiveKit automatically provisions and configures a PostgreSQL database for you when deploying via Docker. You do not need to manually set up a database server.
We provide the complete database infrastructure setup out-of-the-box in the docker-compose-prod.yml file.
The only requirement is to provide the correct environment variables for the database connection. If you are deploying via GitHub Actions, add these under your ENV_KEYS GitHub repository secret.
# DB connection
DB_USER=db_user
DB_PASS=db_secured_password
DB_HOST=postgres
DB_PORT=5432
DB_NAME=db_name
DB_SSLMODE=disableKeep DB_HOST=postgres