7f08d92958
Adds a new browser-fetch microservice that wraps Lightpanda for rendering JS-heavy pages, and wires it into the knowledge URL parser as a fallback when the upstream link reader returns 403/429/5xx for an allow-listed domain (e.g. zhuanlan.zhihu.com). Includes config/env plumbing, hot-reload diff support, and full deploy assets (Dockerfile target, docker-compose, k3s manifests, image-build/package scripts).
32 lines
1.7 KiB
Bash
32 lines
1.7 KiB
Bash
# ─── geo-rankly deployment configuration ──────────────────────────────────────
|
|
# Copy this file to .env and fill in the required values.
|
|
# Do NOT commit .env to version control.
|
|
|
|
# ─── Image registry (for pulling pre-built images) ───────────────────────────
|
|
# Change to your registry prefix, e.g. ghcr.io/your-org/geo-rankly
|
|
IMAGE_REGISTRY=ghcr.io/your-org/geo-rankly
|
|
IMAGE_TAG=latest
|
|
|
|
# ─── Required: Security ───────────────────────────────────────────────────────
|
|
# JWT signing secret — use a strong random string in production
|
|
# Generate: openssl rand -hex 32
|
|
JWT_SECRET=geo-web-Aa123456-change-me-in-production
|
|
OPS_JWT_SECRET=geo-ops-Aa123456-change-me-in-production
|
|
OPS_DEFAULT_ADMIN_PASSWORD=Aa123456
|
|
SCHEDULER_INTERNAL_METRICS_TOKEN=geo-scheduler-Aa123456-change-me-in-production
|
|
BROWSER_FETCH_TOKEN=geo-browser-fetch-Aa123456-change-me-in-production
|
|
POSTGRES_PASSWORD=geo_dev
|
|
|
|
# ─── Optional: MinIO credentials ─────────────────────────────────────────────
|
|
MINIO_ROOT_USER=admin
|
|
MINIO_ROOT_PASSWORD=Aa123456
|
|
|
|
# ─── Optional: Exposed ports ─────────────────────────────────────────────────
|
|
# Defaults avoid common NAS ports such as 80, 8080, and 8090.
|
|
FRONTEND_PORT=18080
|
|
API_PORT=18081
|
|
OPS_WEB_PORT=18082
|
|
OPS_API_PORT=18090
|
|
RABBITMQ_MGMT_PORT=15673
|
|
MINIO_CONSOLE_PORT=19001
|