diff --git a/dev2/sites.d/ch4nnels.com.json b/dev2/sites.d/ch4nnels.com.json index 0ea3fa2..6a3ee5e 100644 --- a/dev2/sites.d/ch4nnels.com.json +++ b/dev2/sites.d/ch4nnels.com.json @@ -10,7 +10,7 @@ ], "db": "none", "db_kinds": [], - "redis": false, + "redis": true, "volumes": [ { "name": "ch4nnels-data", @@ -34,8 +34,9 @@ "SITE_URL": "https://ch4nnels.com", "DB_PATH": "/data/ch4nnels.db", "ROLES": "web,worker", - "NODE_ENV": "production" + "NODE_ENV": "production", + "REDIS_URL": "redis://redis:6379" }, - "notes": "Not a Railway site: born on dev2 2026-10-17. IPTV comparison + channel search engine promoting ArgonTV. SQLite on the ch4nnels-data volume (no Postgres). Secrets (ARGON_REF_URL) in vault ch4nnels-com--prod. Deploys on push to main.", + "notes": "Not a Railway site: born on dev2 2026-10-17. IPTV comparison + channel search engine promoting ArgonTV. SQLite on the ch4nnels-data volume (no Postgres). Secrets (ARGON_REF_URL) in vault ch4nnels-com--prod. Deploys on push to main. Redis (2026-10-19): the scraper-daemon BullMQ queue; redis service + REDIS_URL from \"redis\": true.", "vault": "ch4nnels-com--prod" } diff --git a/dev2/sites.d/r4ck.dev.json b/dev2/sites.d/r4ck.dev.json index 278968b..6e8a3dc 100644 --- a/dev2/sites.d/r4ck.dev.json +++ b/dev2/sites.d/r4ck.dev.json @@ -1,4 +1,8 @@ { - "notes": "nginx_locations: ThreatCrush x402 paywall-scrape limits. The limit_req zones and the $paywall_deny_ua map live in /etc/nginx/conf.d/paywall-limits.conf on dev2, not here.", - "nginx_locations": " # ThreatCrush: distributed x402 paywall-scrape mitigation (zones in\n # conf.d/paywall-limits.conf). Exact-match so ?query variants are covered.\n location = /api/v1/search {\n if ($paywall_deny_ua) { return 403; }\n limit_req zone=paywall_ip burst=5 nodelay;\n limit_req zone=paywall_all burst=100 nodelay;\n proxy_pass http://127.0.0.1:__APP_PORT__;\n proxy_http_version 1.1;\n proxy_set_header Host $host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n proxy_set_header X-Forwarded-Proto $scheme;\n proxy_set_header X-Forwarded-Host $host;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection $connection_upgrade;\n proxy_read_timeout 300s;\n proxy_buffering off;\n proxy_buffer_size 64k;\n proxy_buffers 8 64k;\n proxy_busy_buffers_size 128k;\n }\n" + "notes": "nginx_locations: ThreatCrush x402 paywall-scrape limits. The limit_req zones and the $paywall_deny_ua map live in /etc/nginx/conf.d/paywall-limits.conf on dev2, not here. Redis (2026-10-19): the scraper-daemon BullMQ queue; redis service + REDIS_URL from \"redis\": true.", + "nginx_locations": " # ThreatCrush: distributed x402 paywall-scrape mitigation (zones in\n # conf.d/paywall-limits.conf). Exact-match so ?query variants are covered.\n location = /api/v1/search {\n if ($paywall_deny_ua) { return 403; }\n limit_req zone=paywall_ip burst=5 nodelay;\n limit_req zone=paywall_all burst=100 nodelay;\n proxy_pass http://127.0.0.1:__APP_PORT__;\n proxy_http_version 1.1;\n proxy_set_header Host $host;\n proxy_set_header X-Real-IP $remote_addr;\n proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n proxy_set_header X-Forwarded-Proto $scheme;\n proxy_set_header X-Forwarded-Host $host;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection $connection_upgrade;\n proxy_read_timeout 300s;\n proxy_buffering off;\n proxy_buffer_size 64k;\n proxy_buffers 8 64k;\n proxy_busy_buffers_size 128k;\n }\n", + "redis": true, + "env_overrides": { + "REDIS_URL": "redis://redis:6379" + } }