53 lines
1.9 KiB
TOML
53 lines
1.9 KiB
TOML
# Polymech Postgres Configuration
|
|
# Derived from pm-pics/server/.env
|
|
|
|
[postgres]
|
|
url = "postgresql://postgres.ytoadlpbdguriiccjnip:PKUF3t.cZDr3b4k@aws-1-eu-north-1.pooler.supabase.com:6543/postgres?pgbouncer=true"
|
|
|
|
[supabase]
|
|
url = "https://ytoadlpbdguriiccjnip.supabase.co"
|
|
service_key = "sb_secret_A8CNmiO3Th9kl5BVnCb9uA_pPFwvW8_"
|
|
publishable_key = "sb_publishable_1GyeD_grTZhrU-_OdUCz4g_gjxcxRNp"
|
|
|
|
[server]
|
|
port = 3333
|
|
url = "http://localhost:3333"
|
|
image_api_url = "http://localhost:3333"
|
|
|
|
[server.remote]
|
|
url = "https://service.polymech.info"
|
|
image_api_url = "https://service.polymech.info"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Services
|
|
# -----------------------------------------------------------------------------
|
|
[services]
|
|
SERPAPI_KEY="517879d08bd8f13df9c4265c42aea8cfe960942f3a10e8774bbec11becbfb687"
|
|
GEO_CODER_KEY="65bcf01943459613018206nmi9830a9"
|
|
BIG_DATA_KEY="bdc_fac0842cc0b6480fa64c4a6df6c6835c"
|
|
SCRAPELESS_KEY="sk_3xKBbjxpOvtRVHMbw1MwSg26feEjBzDKQxQqG2qtlJrW3tbGe6x0uGhz0aMU1DDl"
|
|
OPENROUTER="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"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Enricher Configuration
|
|
# -----------------------------------------------------------------------------
|
|
[enricher]
|
|
ENRICHER_LOCATION_CONCURRENCY=10
|
|
ENRICHER_META_CONCURRENCY=5
|
|
ENRICHER_META_IDLE_TIMEOUT=60
|
|
ENRICHER_META_SCRAPER="HTTP"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# System Hard Constraints & Throttle Limits (IPC / Threads / Buffers)
|
|
# -----------------------------------------------------------------------------
|
|
[system]
|
|
executor_threads = 12
|
|
http_concurrency_throttle = 15
|
|
queue_depth_max = 200
|
|
buffer_size_max = 52428800
|
|
|
|
[cache]
|
|
GADM_CACHE_DEV = "../../packages/gadm/cache/gadm"
|
|
GADM_CACHE_PROD = "../../../geo-cache/gadm/"
|
|
|