feat: Fix Docker configuration and update documentation
- Fix nginx port mapping (12000:80) for single port exposure - Remove backend port exposure (internal network only) - Fix nginx configuration (remove invalid must-revalidate directive) - Update README with correct setup instructions - Update TODO.md with completed tasks and current status - Application now running on http://localhost:12000 with production build
This commit is contained in:
@@ -64,13 +64,14 @@ A comprehensive SAAS application for managing recruiter workflows, built with mo
|
||||
3. **Start the application with Docker (recommended for parity)**
|
||||
This single command builds the images, starts all services, runs database migrations, and seeds the database with sample data.
|
||||
```bash
|
||||
docker-compose up --build
|
||||
POSTGRES_PASSWORD=merchantsofhope_dev_password JWT_SECRET=merchantsofhope_dev_jwt_secret_key_2025 docker compose up --build -d
|
||||
```
|
||||
|
||||
4. **Access the application**
|
||||
- Frontend: http://localhost:12000
|
||||
- Backend API: http://localhost:3001 (from host) or `http://merchantsofhope-supplyanddemandportal-backend:3001` (from other containers)
|
||||
- Database: merchantsofhope-supplyanddemandportal-database:5432 (inside Docker network)
|
||||
- **Frontend**: http://localhost:12000 (React app with nginx)
|
||||
- **API**: http://localhost:12000/api/* (proxied to backend)
|
||||
- **Backend**: Not directly accessible (internal Docker network only)
|
||||
- **Database**: Internal Docker network only
|
||||
|
||||
### Environment Variables
|
||||
|
||||
|
||||
Reference in New Issue
Block a user