DBQuery is an AI-powered database agent that translates natural language into safe, optimized SQL.
2.2K
DBQuery is an AI-powered database agent that translates natural language into safe, optimized SQL. This guide helps you deploy the backend using Docker.
Download the following files into a new directory:
docker-compose.yml.env.example (Rename this to .env)Open your .env file and set the following:
DATABASE_URL: Location of the SQLite file (default: file:./prisma/data/local_db.sqlite).APP_USER & APP_PASSWORD: Initial admin credentials for the dashboard.ENCRYPTION_KEY: A random 32-character hex string for securing sensitive data.Run the following command in your terminal:
docker-compose up -d
The backend API will be available at http://localhost:8000.
Once the backend is running, you can use the DBQuery desktop app or web dashboard to connect.
APP_USER and APP_PASSWORD.The docker-compose.yml mounts a local ./data folder to /app/prisma/data inside the container. This ensures your chat history and configuration remain persistent across restarts.
host.docker.internal for local DBs or the actual IP/hostname.http://host.docker.internal:11434.Built with ❤️ by Himanshu
Content type
Image
Digest
sha256:aac064cad…
Size
300 MB
Last updated
5 months ago
docker pull himanshu806/dbquery-backend