# Template 001 - Start an AI Company Deployment Template This is a template site demonstrating how to deploy applications on Start an AI Company servers using Docker Compose and Traefik. ## Features - Node.js Express application - PostgreSQL database - Redis caching - Docker Compose configuration - Traefik-ready (no host port mappings) - Modern, clean white UI ## Architecture - **App**: Node.js Express server running on port 3000 (internal) - **Database**: PostgreSQL 15 - **Cache**: Redis 7 - **Routing**: Traefik handles external routing and SSL ## Deployment Deploy using the SAAC command: ```bash saac create application ``` This will deploy the application to https://template-001.startanaicompany.com ## Local Development ```bash npm install npm run dev ``` ## Docker Deployment ```bash docker-compose up -d ``` ## Environment Variables - `PORT`: Application port (default: 3000) - `POSTGRES_HOST`: PostgreSQL host - `POSTGRES_PORT`: PostgreSQL port - `POSTGRES_USER`: PostgreSQL user - `POSTGRES_PASSWORD`: PostgreSQL password - `POSTGRES_DB`: PostgreSQL database name - `REDIS_HOST`: Redis host - `REDIS_PORT`: Redis port ## Health Check Visit `/health` endpoint to check service status.