Overview
PriceSignal provides a multi-stage Docker setup that builds both the .NET backend and React frontend into a single optimized container image. The application uses Docker Compose to orchestrate the main application and TimescaleDB database.Docker Image
The official Docker image is available on Docker Hub:Multi-Stage Build Process
The Dockerfile uses a multi-stage build to optimize the final image size:Docker Compose Setup
Quick Start
Start Services
- PriceSignal application on port 8080
- TimescaleDB database on port 5432
Service Configuration
Thecompose.yaml defines two primary services:
Building Custom Images
Build Locally
Push to Registry
Production Configuration
Production Docker Compose
Create acompose.prod.yaml:
Health Checks
Database Health Check
The database includes a built-in health check:Application Health Check
Monitor application health:Managing Services
Common Commands
Troubleshooting
Container Won’t Start
Database Connection Issues
Port Conflicts
If ports 8080 or 5432 are already in use:For production deployments, consider using Kubernetes with Pulumi. See the Infrastructure Deployment guide.
Next Steps
- Configure Environment Variables
- Set up TimescaleDB
- Deploy with Pulumi Infrastructure