Requirements
Before starting, ensure your environment meets the following:System Requirements
- OS: Linux, macOS, or Windows with WSL
- RAM: Minimum 8 GB
- Disk: 10 GB free. The key requirement is for the system to support both Linux and Docker.
Software Requirements
- Docker & Docker Compose installed.
- Python 3.8+.
- Git.
- Liquibase (For Database Configuration Setup).
- Internet access.
Prerequisites
1. Database Setup
- A running PostgreSQL database (self-hosted or cloud e.g., AWS RDS).
- SSL certificate (
.crt
) to verify DB connection.
2. SMTP Setup
- SMTP credentials for sending notification emails (optional but recommended).
3. Redis
- Redis host and credentials (cloud-based or self-hosted).
4. Domain Name
- A domain name requires a certificate to verify the domain connection.
Installation Steps
1. Download the Installer
2. Make the Installer Executable (Linux/macOS)
3. Run the Installer
- Base port for the application (e.g. 3000).
- Domain name for the self-hosted app (e.g. example.yourdomain.com) and optional SSL cert path.
- PostgreSQL host, user, password, SSL cert path.
- Redis host, port, and password.
- SMTP host, user, password, port.
- Dynamically authenticate and access the Docker registry.
- Download and run Liquibase schema setup.
- Generate an
.env
file for environment variables. - Create a
docker-compose.yml
file with dynamic port mapping. - Pull and run all required containers.
🔄 Port Mapping
All services are offset from your base port (e.g., 3000):Service | Port Offset | Final Port |
---|---|---|
Frontend | +0 | 3000 |
Auth Service | +1 | 3001 |
Opps Controller | +2 | 3002 |
SAM Data Feed | +3 | 3003 |
SAM to Repository | +4 | 3004 |
Opportunity Service | +5 | 3005 |
Award Repository | +6 | 3006 |
Information Service | +7 | 3007 |
API Gateway | +8 | 3008 |
It is essential to note these ports, so that we understand where each service of the containers would be running.
🔗 Accessing Your App
Once containers are running, access the kontratar platform through:Maintenance & Troubleshooting
Restarting Services
Checking Logs
Check Container Logs
Updating Environment
Edit.env
And re-run:
Re-running the Installer
To change configs completely, stop the running services with.env
and docker-compose.yml
: