Deploy Quivr
Deploy with Digital Ocean
Deploy Quivr on Digital Ocean
- Go to Digital Ocean and create an account.
- Create a new Droplet.
- Choose the Docker image from the Marketplace.
- Choose the Standard Droplet plan.
We recommended the $48/month plan for the best performance with 4 vCPUs, 8GB RAM, and 160GB SSD.
-
Wait for the Droplet to be created.
-
SSH into your Droplet.
ssh root@your-droplet-ip
- Clone the Quivr repository.
git clone https://github.com/QuivrHQ/quivr.git && cd quivr
- Copy the
.env.example
file.
cp .env.example .env
- Update the
.env
file.
vim .env
- Update the
OPENAI_API_KEY
- Update the
NEXT_PUBLIC_BACKEND_URL
with your Droplet IP ->http://your-droplet-ip:5050
- UPDATE the
NEXT_PUBLIC_SUPABASE_URL
with your Droplet IP ->http://your-droplet-ip:54321
- Update the
NEXT_PUBLIC_FRONTEND_URL
with your Droplet IP ->http://your-droplet-ip:3000
- Install Supabase
apt install npm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install 20
nvm use 20
cd backend
npx supabase start
cd ..
- Allow the firewall
ufw allow 54321
- Launch the project
docker compose pull
docker compose up
It needs at least 5 minutes to build the frontend and pulling the Docker images.
- Access the Quivr app
http://your-droplet-ip:3000
Was this page helpful?