Deploy LogisticsX to a production VPS using Docker Compose generated by .NET Aspire.
# On your VPS
git clone https://github.com/suxrobgm/logistics-app.git
cd logistics-app/src/Aspire/Logistics.Aspire.AppHost/aspire-output
# Configure environment
cp .env.example .env
# Edit .env with your production values
# Deploy
docker compose up -dInternet -> Nginx (80/443 with SSL)
|-- api.domain.com -> API (:7000)
|-- id.domain.com -> Identity Server (:7001)
|-- admin.domain.com -> Admin App (:7002)
+-- office.domain.com -> Office App (:7003)
|
v
PostgreSQL
| Resource | Minimum | Recommended |
|---|---|---|
| CPU | 2 vCPU | 4 vCPU |
| RAM | 4 GB | 8 GB |
| Storage | 40 GB SSD | 80 GB SSD |
| OS | Ubuntu 22.04 LTS | Ubuntu 24.04 LTS |
- VPS Setup - Install Docker and configure server
- Deploy with Docker Compose - Configure and run services
Create DNS A records pointing to your VPS IP:
api.yourdomain.com -> YOUR_VPS_IP
id.yourdomain.com -> YOUR_VPS_IP
admin.yourdomain.com -> YOUR_VPS_IP
office.yourdomain.com -> YOUR_VPS_IP
- VPS with SSH access
- Domain with DNS configured
- Stripe API keys (for payments)
- Resend API key (for emails)
- Mapbox access token (for maps)
| Guide | Description |
|---|---|
| VPS Setup | Initial server configuration |
| Docker Compose Deployment | Deploy with pre-generated docker-compose |
| Environment Variables | Configuration reference |