Prerequisites
- Docker 20.10+ (installation guide)
- Docker Compose v2.0+ (included with Docker Desktop)
- Domain name with DNS configured (for production)
- SSL certificate (via Certbot or existing cert)
Quick Start
1. Clone Repository
2. Configure Environment
Copy the example environment file:.env with your configuration. See Environment Variables for all options.
Minimum required variables:
3. Start Services
- PostgreSQL database
- Redis (for caching and sessions)
- StellarStack API
- StellarStack web panel
4. Verify Deployment
Check container status:5. Create Admin User
Run the database seeder:Docker Compose Configuration
The defaultdocker-compose.yml includes:
PostgreSQL Service
Redis Service
Persistent Volumes
Data is stored in Docker volumes:Network Configuration
StellarStack creates two Docker networks:1. stellar_network
For Docker Compose services (Panel, API, Database):2. stellar
For game server containers (daemon-managed):Reverse Proxy Setup
StellarStack requires an nginx reverse proxy for:- SSL termination
- Domain routing
- WebSocket support
nginx Configuration Example
Panel configuration (/etc/nginx/sites-available/stellarstack-panel):
/etc/nginx/sites-available/stellarstack-api):
SSL Certificate Setup
Using Certbot (Let’s Encrypt)
Using Existing Certificates
Update nginx configuration to point to your certificate files:Database Migrations
Run database migrations after deployment:Monitoring Stack (Optional)
The installer can deploy a monitoring stack with:- Prometheus - Metrics collection
- Loki - Log aggregation
- Grafana - Visualization dashboards
docker-compose.yml.
Updating StellarStack
Pull Latest Images
Rebuild from Source
Run Migrations
Troubleshooting
Container Won’t Start
Check logs:Database Connection Errors
VerifyDATABASE_URL in .env matches PostgreSQL configuration.
Port Conflicts
Check if ports are already in use:Next Steps
Environment Variables
Configure all available options
Production Checklist
Prepare for production deployment