restore SREBOT/web/ accidentally wiped by auto-merge #1258 (#1259)

This commit is contained in:
NotSoToothless
2026-05-18 12:28:23 -07:00
committed by GitHub
parent 47ae8b92f7
commit f7b5538d7b
136 changed files with 49022 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
# ============================================
# Environment Configuration Example
# Copy this file to .env and fill in your actual values
# ============================================
# Server Configuration
NODE_ENV=production
PORT=3001
# External API Configuration
# For Docker: use host.docker.internal to reach services on host machine
# For Docker Compose with API in same network: use the service name
EXTERNAL_API_URL=http://localhost:6000
# Domain Config (used for CORS)
PRODUCTION_DOMAIN=https://sre.pawjob.us
# API Security (optional - auto-generates if not set)
# Generate with: openssl rand -hex 32
API_SECRET=
# IP Whitelist (optional - comma-separated IPs for production)
ALLOWED_IPS=
# Webhook Configuration (optional - for GitHub auto-deployment)
# Generate a secure random string for this
WEBHOOK_SECRET=
# ============================================
# PM2 Commands:
# ============================================
# Start with PM2:
# npm run pm2:start
#
# Other PM2 commands:
# npm run pm2:stop - Stop the app
# npm run pm2:restart - Restart the app
# npm run pm2:reload - Zero-downtime reload
# npm run pm2:logs - View logs
# npm run pm2:monit - Monitor dashboard
# npm run pm2:delete - Remove from PM2
#
# Auto-start on reboot:
# pm2 startup
# pm2 save
# ============================================