377b88c48d
- Add pmtiles-webhook.ts shared helper for triggering PMTiles rebuild - sync-county: trigger rebuild when new features synced, pass jobId to syncLayer for sub-progress, update % after UAT completion (not before) - sync-all-counties: same progress fix + rebuild trigger at end - geoportal monitor: use shared helper instead of raw fetch - weekend-deep-sync + auto-refresh: consolidate webhook code via helper - docker-compose: default N8N_WEBHOOK_URL to pmtiles-webhook on satra:9876 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
68 lines
3.0 KiB
Bash
68 lines
3.0 KiB
Bash
# =============================================================================
|
|
# ArchiTools - Environment Configuration
|
|
# =============================================================================
|
|
# Copy to .env.local for local development, or .env for Docker deployment.
|
|
# Variables prefixed with NEXT_PUBLIC_ are exposed to the browser.
|
|
|
|
# Application
|
|
NEXT_PUBLIC_APP_NAME=ArchiTools
|
|
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
|
|
# Storage adapter: 'localStorage' (default) | 'database'
|
|
NEXT_PUBLIC_STORAGE_ADAPTER=localStorage
|
|
|
|
# Feature flag overrides (set to 'true' or 'false')
|
|
# NEXT_PUBLIC_FLAG_MODULE_REGISTRATURA=true
|
|
# NEXT_PUBLIC_FLAG_MODULE_EMAIL_SIGNATURE=true
|
|
# NEXT_PUBLIC_FLAG_MODULE_WORD_XML=true
|
|
# NEXT_PUBLIC_FLAG_MODULE_PROMPT_GENERATOR=true
|
|
# NEXT_PUBLIC_FLAG_MODULE_DIGITAL_SIGNATURES=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_PASSWORD_VAULT=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_IT_INVENTORY=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_ADDRESS_BOOK=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_WORD_TEMPLATES=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_TAG_MANAGER=true
|
|
# NEXT_PUBLIC_FLAG_MODULE_MINI_UTILITIES=false
|
|
# NEXT_PUBLIC_FLAG_MODULE_AI_CHAT=false
|
|
|
|
# =============================================================================
|
|
# PostgreSQL Database (required when STORAGE_ADAPTER=database)
|
|
# =============================================================================
|
|
DATABASE_URL=postgresql://USER:PASSWORD@10.10.10.166:5432/architools_db?schema=public
|
|
|
|
# =============================================================================
|
|
# MinIO Object Storage
|
|
# =============================================================================
|
|
MINIO_ENDPOINT=10.10.10.166
|
|
MINIO_PORT=9002
|
|
MINIO_USE_SSL=false
|
|
MINIO_ACCESS_KEY=admin
|
|
MINIO_SECRET_KEY=your-minio-secret
|
|
MINIO_BUCKET_NAME=tools
|
|
|
|
# =============================================================================
|
|
# Authentication (Authentik OIDC)
|
|
# =============================================================================
|
|
NEXTAUTH_URL=https://tools.beletage.ro
|
|
NEXTAUTH_SECRET=generate-with-openssl-rand-base64-32
|
|
AUTHENTIK_CLIENT_ID=your-authentik-client-id
|
|
AUTHENTIK_CLIENT_SECRET=your-authentik-client-secret
|
|
AUTHENTIK_ISSUER=https://auth.beletage.ro/application/o/architools/
|
|
|
|
# PMTiles rebuild webhook (pmtiles-webhook systemd service on satra)
|
|
N8N_WEBHOOK_URL=http://10.10.10.166:9876
|
|
|
|
# External tool URLs (displayed in dashboard)
|
|
NEXT_PUBLIC_GITEA_URL=http://10.10.10.166:3002
|
|
NEXT_PUBLIC_PORTAINER_URL=http://10.10.10.166:9000
|
|
NEXT_PUBLIC_MINIO_URL=http://10.10.10.166:9003
|
|
NEXT_PUBLIC_N8N_URL=http://10.10.10.166:5678
|
|
NEXT_PUBLIC_STIRLING_PDF_URL=http://10.10.10.166:8087
|
|
NEXT_PUBLIC_IT_TOOLS_URL=http://10.10.10.166:8085
|
|
NEXT_PUBLIC_FILEBROWSER_URL=http://10.10.10.166:8086
|
|
NEXT_PUBLIC_UPTIME_KUMA_URL=http://10.10.10.166:3001
|
|
NEXT_PUBLIC_NETDATA_URL=http://10.10.10.166:19999
|
|
NEXT_PUBLIC_DOZZLE_URL=http://10.10.10.166:9999
|
|
NEXT_PUBLIC_CROWDSEC_URL=http://10.10.10.166:8088
|
|
NEXT_PUBLIC_AUTHENTIK_URL=http://10.10.10.166:9100
|