modcomms/.env.deploy.example
michael 834de7d74c Add deployment script for Ubuntu server
- Add deploy.sh for automated deployment (idempotent)
- Add .env.deploy.example template for server configuration
- Update .gitignore to exclude .env.deploy

The script handles both first-time install and updates:
- Pulls latest code from git
- Builds frontend with production URLs
- Deploys to Apache document root
- Rebuilds and restarts Docker backend
- Includes health check verification

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 14:50:49 -06:00

14 lines
516 B
Text

# ModComms Deployment Configuration
# Copy this file to .env.deploy and update with your server values
# Frontend deployment directory (Apache document root)
FRONTEND_DEPLOY_DIR=/var/www/html/modcomms
# Backend URLs (used during frontend build)
# These should match your production domain
VITE_BACKEND_WS_URL=wss://your-domain.com/ws/analyze
VITE_BACKEND_URL=https://your-domain.com
# CORS origins (should match your frontend domain)
# Multiple origins can be comma-separated
CORS_ORIGINS=https://your-domain.com