- Node.js Express application with modern white UI - PostgreSQL and Redis integration - Docker Compose configuration without host port mappings - Traefik-ready with proper labels - Health check endpoint 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1.2 KiB
1.2 KiB
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:
saac create application
This will deploy the application to https://template-001.startanaicompany.com
Local Development
npm install
npm run dev
Docker Deployment
docker-compose up -d
Environment Variables
PORT: Application port (default: 3000)POSTGRES_HOST: PostgreSQL hostPOSTGRES_PORT: PostgreSQL portPOSTGRES_USER: PostgreSQL userPOSTGRES_PASSWORD: PostgreSQL passwordPOSTGRES_DB: PostgreSQL database nameREDIS_HOST: Redis hostREDIS_PORT: Redis port
Health Check
Visit /health endpoint to check service status.