- Backend: users table + admin seed (004), /api/auth endpoints, JWT auth dep gating benchmarks + research routes - Frontend: AuthContext, LoginPage, ProtectedRoute, subpath-aware via VITE_BASE / import.meta.env.BASE_URL so same build works at /opt/ - deploy/: Dockerfile.prod, docker-compose.prod.yml, Apache vhost fragment template, and idempotent deploy.sh (port scan, rsync, env generation, Apache Include + reload) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
24 lines
813 B
Text
24 lines
813 B
Text
# Copy this file to deploy/config.sh and fill in your values.
|
|
# config.sh is gitignored.
|
|
|
|
# SSH target — user@host (or a Host alias from ~/.ssh/config)
|
|
SSH_TARGET="user@optical-dev.oliver.solutions"
|
|
|
|
# Remote paths (usually leave as-is)
|
|
REMOTE_APP_DIR="/opt/salary-benchmark"
|
|
REMOTE_WEB_DIR="/var/www/html/salary-benchmark"
|
|
REMOTE_VHOST_FILE="/etc/apache2/sites-available/optical-dev.conf"
|
|
|
|
# URL subpath the app is mounted under (trailing slash matters for Vite)
|
|
URL_SUBPATH="/opt/"
|
|
|
|
# Port scan range for the backend container (picks first free one)
|
|
PORT_SCAN_START=8100
|
|
PORT_SCAN_END=8199
|
|
|
|
# API keys — pulled from your local .env automatically; override here if needed.
|
|
# Leave unset to source from ./.env in the project root.
|
|
# SERPER_API_KEY=
|
|
# FIRECRAWL_API_KEY=
|
|
# COHERE_API_KEY=
|
|
# ANTHROPIC_API_KEY=
|