feat(demo): migrate 5 SelfStack services to demo stack (16→24 services)
Add Reactive Resume, Metrics, Kiwix, Resume Matcher, and Apple Health from the earlier SelfStack project. Rewrite Apple Health collector to use InfluxDB v2 with proper error handling. Update all tests, scripts, Homepage config, env template, and documentation for the expanded stack. New services: - Reactive Resume (4016) + Postgres/Minio/Chrome companions - Metrics (4021) - GitHub metrics visualization - Kiwix (4022) - offline wiki reader - Resume Matcher (4023) - AI resume screening - Apple Health (4024) - health data collector → InfluxDB v2 Also adds git policy to AGENTS.md: always commit and push automatically. 💘 Generated with Crush Assisted-by: GLM-5.1 via Crush <crush@charm.land>
This commit is contained in:
@@ -31,6 +31,12 @@ ensure_env() {
|
||||
# Ensure new variables exist in older env files
|
||||
grep -q '^MAILHOG_SMTP_PORT=' "$ENV_FILE" || echo "MAILHOG_SMTP_PORT=4019" >> "$ENV_FILE"
|
||||
grep -q '^HOMEPAGE_ALLOWED_HOSTS=' "$ENV_FILE" || echo "HOMEPAGE_ALLOWED_HOSTS=*" >> "$ENV_FILE"
|
||||
grep -q '^REACTIVE_RESUME_PORT=' "$ENV_FILE" || echo "REACTIVE_RESUME_PORT=4016" >> "$ENV_FILE"
|
||||
grep -q '^RESUME_MINIO_PORT=' "$ENV_FILE" || echo "RESUME_MINIO_PORT=4020" >> "$ENV_FILE"
|
||||
grep -q '^METRICS_PORT=' "$ENV_FILE" || echo "METRICS_PORT=4021" >> "$ENV_FILE"
|
||||
grep -q '^KIWIX_PORT=' "$ENV_FILE" || echo "KIWIX_PORT=4022" >> "$ENV_FILE"
|
||||
grep -q '^RESUME_MATCHER_PORT=' "$ENV_FILE" || echo "RESUME_MATCHER_PORT=4023" >> "$ENV_FILE"
|
||||
grep -q '^APPLEHEALTH_PORT=' "$ENV_FILE" || echo "APPLEHEALTH_PORT=4024" >> "$ENV_FILE"
|
||||
}
|
||||
|
||||
detect_user() {
|
||||
@@ -122,10 +128,13 @@ display_summary() {
|
||||
echo " Monitoring:"
|
||||
echo " InfluxDB http://localhost:${INFLUXDB_PORT}"
|
||||
echo " Grafana http://localhost:${GRAFANA_PORT}"
|
||||
echo " Metrics http://localhost:${METRICS_PORT}"
|
||||
echo " Apple Health http://localhost:${APPLEHEALTH_PORT}"
|
||||
echo ""
|
||||
echo " Documentation:"
|
||||
echo " Draw.io http://localhost:${DRAWIO_PORT}"
|
||||
echo " Kroki http://localhost:${KROKI_PORT}"
|
||||
echo " Kiwix http://localhost:${KIWIX_PORT}"
|
||||
echo ""
|
||||
echo " Developer Tools:"
|
||||
echo " Atomic Tracker http://localhost:${ATOMIC_TRACKER_PORT}"
|
||||
@@ -136,6 +145,10 @@ display_summary() {
|
||||
echo " MailHog (SMTP) localhost:${MAILHOG_SMTP_PORT}"
|
||||
echo " Atuin http://localhost:${ATUIN_PORT}"
|
||||
echo ""
|
||||
echo " Productivity:"
|
||||
echo " Reactive Resume http://localhost:${REACTIVE_RESUME_PORT}"
|
||||
echo " Resume Matcher http://localhost:${RESUME_MATCHER_PORT}"
|
||||
echo ""
|
||||
echo " Credentials: admin / demo_password"
|
||||
echo " FOR DEMONSTRATION PURPOSES ONLY"
|
||||
echo "========================================================"
|
||||
@@ -158,6 +171,11 @@ smoke_test() {
|
||||
"${WAKAPI_PORT}:Wakapi"
|
||||
"${MAILHOG_PORT}:MailHog"
|
||||
"${ATUIN_PORT}:Atuin"
|
||||
"${REACTIVE_RESUME_PORT}:ReactiveResume"
|
||||
"${METRICS_PORT}:Metrics"
|
||||
"${KIWIX_PORT}:Kiwix"
|
||||
"${RESUME_MATCHER_PORT}:ResumeMatcher"
|
||||
"${APPLEHEALTH_PORT}:AppleHealth"
|
||||
)
|
||||
local pass=0 fail=0
|
||||
for pt in "${ports[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user