This guide explains the interactive setup scripts used to configure SereniBase.
SereniBase supports two deployment configurations:
| Mode | Compose File | Description |
|---|---|---|
| Backend Only | docker-compose.yaml |
Core REST API + PostgreSQL |
| Full Application | docker-compose.all.yaml |
Complete stack with all microservices |
Note: The interactive setup wizard configures the Full Application mode. For Backend Only mode, see Backend Only Setup.
| Requirement | Notes |
|---|---|
| Docker + Docker Compose | Required to run the stack |
| Git | Required to clone the repo |
| Chocolatey (Windows) | Install: https://chocolatey.org/install |
| Make (GNU Make) | Windows: choco install make |
| SMTP access | Optional, required for email notifications |
.\setup-interactive.ps1chmod +x setup-interactive.sh
./setup-interactive.shFor lightweight API-only deployments without the full UI and supporting services:
# Copy environment template
cp build/config/.env.example .env
# Edit .env with your database credentials (optional)
# Default values work for local development
# Start backend services
docker compose -f docker-compose.yaml up -d| Service | Port | Description |
|---|---|---|
| serenibase-rest | 8080 | REST API server |
| postgres | 5432 | PostgreSQL database |
# Start services
docker compose -f docker-compose.yaml up -d
# View logs
docker compose -f docker-compose.yaml logs -f
# Stop services
docker compose -f docker-compose.yaml down
# Stop and remove all data
docker compose -f docker-compose.yaml down -v- Collects required configuration values
- Generates or updates
.env - Prepares Docker volumes
- Starts the full stack via Docker Compose
| Option | Description |
|---|---|
-AutoYes |
Run non-interactively using defaults |
-SkipDocker |
Skip Docker and Docker Compose checks |
-Help |
Show help |
Examples:
.\setup-interactive.ps1 -AutoYes
.\setup-interactive.ps1 -SkipDocker
.\setup-interactive.ps1 -Help| Option | Description |
|---|---|
--auto-yes |
Run non-interactively using defaults |
--skip-docker |
Skip Docker and Docker Compose checks |
--help |
Show help |
Examples:
./setup-interactive.sh --auto-yes
./setup-interactive.sh --skip-docker
./setup-interactive.sh --helpThe setup uses build/config/.env.example as the base template.
| Service | URL |
|---|---|
| Frontend | http://localhost:5050 |
| Backend API | http://localhost:8080 |
| Health Check | http://localhost:8080/api/v1/health |
| MinIO Console | http://localhost:9001 |
| Service | URL |
|---|---|
| Backend API | http://localhost:8080 |
| Health Check | http://localhost:8080/api/v1/health |
- If Docker is not running, start Docker Desktop (Windows/macOS) or the Docker daemon (Linux)
- If ports are in use, stop the conflicting services or change ports in
.env - If the setup fails, review logs with
make logsordocker compose logs
- Complete Setup Guide - Comprehensive beginner guide
- Setup Reference - Quick reference setup guide
- Environment Setup Guide - Environment configuration
- Environment Variables Reference - Complete variable list
- Quick Reference Card - Common configurations