88260e1e9a
Build & Deploy / Build & Push Docker Images (push) Has been cancelled
Build & Deploy / Deploy on Server (push) Has been cancelled
Docker Integration / Docker Compose Build (push) Has been cancelled
Frontend CI / Lint, Test & Build (20) (push) Has been cancelled
Frontend CI / Lint, Test & Build (22) (push) Has been cancelled
Add GHCR image build/push and SSH-based server deployment workflow, production compose/env templates, and deployment script. Also fix frontend container healthcheck target and extend Docker CI with frontend health verification. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
35 lines
805 B
Bash
35 lines
805 B
Bash
# Required image/deployment settings
|
|
GHCR_OWNER=denshooter
|
|
IMAGE_TAG=latest
|
|
|
|
# Host ports
|
|
FRONTEND_PORT=3000
|
|
BACKEND_PORT=5000
|
|
|
|
# PostgreSQL
|
|
POSTGRES_USER=monitoring
|
|
POSTGRES_PASSWORD=replace-with-strong-password
|
|
POSTGRES_DB=monitoring
|
|
|
|
# App URLs and backend CORS
|
|
NEXT_PUBLIC_APP_URL=https://monitoring.example.com
|
|
CORS_ORIGIN=https://monitoring.example.com
|
|
|
|
# Supabase
|
|
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
|
|
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
|
|
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
|
|
DATABASE_URL=postgresql://postgres:[PASSWORD]@db.[PROJECT-REF].supabase.co:5432/postgres
|
|
|
|
# Security
|
|
CRON_SECRET=replace-with-random-secret
|
|
|
|
# Optional notifications
|
|
LIGHTHOUSE_SERVICE_URL=http://backend:5000
|
|
RESEND_API_KEY=
|
|
SMTP_HOST=
|
|
SMTP_PORT=
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
SMTP_FROM=
|