Follow these steps to deploy Argus with the current backend and frontend setup.
Ensure your latest changes are pushed to a GitHub Repository.
- Repository should contain both
backend/andfrontend/folders. - Ensure
Dockerfileexists in both directories.
Supabase provides a managed PostgreSQL database that is perfect for Argus.
- Create a project at supabase.com.
- Go to Project Settings -> Database.
- Copy the Connection String (URI format).
- Example:
postgres://postgres:[PASSWORD]@[HOST]:6543/postgres
- Example:
- Important: Save this for the
DATABASE_URLenvironment variable.
Render will host your Node.js API and your internal Background Workers.
- Create a New Web Service on render.com.
- Connect your GitHub repository.
- Environment: Select
Docker. - Environment Variables:
PORT:3001DATABASE_URL: (Your Supabase URI)JWT_SECRET: (A long random string)FRONTEND_URL: (Your Vercel/Render frontend URL)DB_SSL_REJECT_UNAUTHORIZED: (Optional, set tofalseonly if required)SSL_SCAN_REJECT_UNAUTHORIZED: (Optional, set tofalseto allow invalid certs in scan)
- Option A (Vercel): Connect your repo, select the
frontendroot, and deploy. - Option B (Render): Create a Static Site, select
frontend, use Build Commandnpm run buildand Publish Directorydist. - Env Vars:
VITE_API_BASE_URL: (Your Render Backend URL, e.g.,https://argus-api.onrender.com/api)
- Access your frontend URL.
- Log in and trigger a scan.
- Check the Health Check at
https://your-backend.onrender.com/health.
- Database connections verify TLS certificates by default. Only set
DB_SSL_REJECT_UNAUTHORIZED=falseif you must connect to a host with an invalid cert. - The SSL scanner verifies certificates by default. Only set
SSL_SCAN_REJECT_UNAUTHORIZED=falseif you want to allow invalid certs during scans.
Need help with a specific step? Just ask! 🚀🦉