Deployment Overview
Deploy LogStack to production environments.
Deployment Overview
LogStack can be deployed in multiple ways to match your infrastructure needs.
Deployment Options
Docker Compose
Quick deployment for single-server setups
Cloud Platforms
AWS, GCP, DigitalOcean deployment guides
Production Checklist
Security and performance best practices
Architecture Requirements
LogStack requires the following services:
| Service | Purpose | Recommended |
|---|---|---|
| PostgreSQL | Primary database | PostgreSQL 15+ |
| Redis | Caching, rate limiting, pub/sub | Redis 7+ |
| Go API | Backend API server | Go 1.21+ |
| Next.js Web | Dashboard frontend | Node.js 18+ |
Minimum Requirements
Development / Testing
| Resource | Minimum |
|---|---|
| CPU | 2 cores |
| RAM | 4 GB |
| Storage | 20 GB SSD |
Production
| Resource | Recommended |
|---|---|
| CPU | 4+ cores |
| RAM | 8+ GB |
| Storage | 100+ GB SSD |
Quick Start
The fastest way to deploy LogStack:
The default configuration is for development. See the Production Checklist before deploying to production.
Environment Variables
Key configuration variables:
See .env.example for all options.
Service Ports
| Service | Default Port | Protocol |
|---|---|---|
| Go API | 8080 | HTTP |
| Next.js Web | 3000 | HTTP |
| PostgreSQL | 5432 | TCP |
| Redis | 6379 | TCP |
| WebSocket | 8080 | WS |
Next Steps
- Docker Deployment — Set up with Docker Compose
- Cloud Deployment — Deploy to AWS, GCP, or DigitalOcean
- Production Checklist — Security and performance hardening