feat: Add Docker Compose setup for fullstack deployment
- Add Frontend Dockerfile with Next.js standalone build - Add docker-compose.yml for production deployment - Add docker-compose.dev.yml for development with hot-reload - Configure Frontend next.config.js with standalone output - Add .dockerignore files for both backend and frontend - Add comprehensive README-DOCKER.md documentation - Update .gitignore to exclude node_modules and build artifacts - Remove obsolete component files (CycleCalculator.tsx, PHDiagram.tsx) - Backend and Frontend communicate via Docker network - Healthchecks configured for both services - Environment variables configured for API URL
This commit is contained in:
11
Frontend/public/sample_test_data.csv
Normal file
11
Frontend/public/sample_test_data.csv
Normal file
@@ -0,0 +1,11 @@
|
||||
Pressure (bar),Enthalpy (kJ/kg)
|
||||
3.2,580
|
||||
3.5,595
|
||||
11.8,650
|
||||
12.1,652
|
||||
12.0,380
|
||||
11.9,375
|
||||
3.3,378
|
||||
8.5,500
|
||||
5.0,450
|
||||
7.2,520
|
||||
|
16
Frontend/public/sample_test_data.json
Normal file
16
Frontend/public/sample_test_data.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"description": "Sample test points for R290 refrigeration cycle",
|
||||
"refrigerant": "R290",
|
||||
"points": [
|
||||
{ "pressure": 3.2, "enthalpy": 580 },
|
||||
{ "pressure": 3.5, "enthalpy": 595 },
|
||||
{ "pressure": 11.8, "enthalpy": 650 },
|
||||
{ "pressure": 12.1, "enthalpy": 652 },
|
||||
{ "pressure": 12.0, "enthalpy": 380 },
|
||||
{ "pressure": 11.9, "enthalpy": 375 },
|
||||
{ "pressure": 3.3, "enthalpy": 378 },
|
||||
{ "pressure": 8.5, "enthalpy": 500 },
|
||||
{ "pressure": 5.0, "enthalpy": 450 },
|
||||
{ "pressure": 7.2, "enthalpy": 520 }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user