Deployment
Deploy AI-Portal to a server (VPS or cloud) so users can access it via a domain (e.g. https://your-domain.com).
Prepare the server
- Install Docker and Docker Compose.
- Open ports 80/443 for the frontend (and optionally 3001 for direct API access if needed).
- Set up a reverse proxy (e.g. Nginx or Caddy) for HTTPS and proxy to the frontend container.
Build and run
Clone or copy the project to the server, then:
docker compose build docker compose up -d
Configure environment (e.g. NEXTAUTH_URL, NEXTAUTH_SECRET) via Admin β System settings or via environment variables passed to the containers. For production, use a strong NEXTAUTH_SECRET and HTTPS.
CI/CD (optional)
You can use GitHub Actions or another CI to build and push Docker images, then deploy to your server (e.g. pull latest and docker compose up -d). The repo may include example workflows; adapt them to your environment.
For detailed steps and server setup, see the README on GitHub.