752b8230ed
Full wipe and fresh start: removed gitea_patch/unstructured_patch hacks from startup commands, upgraded all onyxdotapp images from nightly-latest-20260331 pin to :latest, removed UNSTRUCTURED_SERVER_URL (service decommissioned 2026-04-14), added Watchtower disable labels to ALL services (was missing on web_server, model_servers, db, cache, opensearch, vespa, nginx), added nginx.conf for reverse proxy. Alembic ran 349 migrations cleanly on fresh DB. All 10 containers up, 0 restarts, HTTP 200 at :3005. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
38 lines
908 B
Nginx Configuration File
38 lines
908 B
Nginx Configuration File
upstream api {
|
|
server api_server:8080;
|
|
}
|
|
|
|
upstream web {
|
|
server web_server:3000;
|
|
}
|
|
|
|
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
client_max_body_size 100M;
|
|
|
|
location /api {
|
|
proxy_pass http://api;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_read_timeout 300s;
|
|
proxy_connect_timeout 75s;
|
|
# SSE support
|
|
proxy_buffering off;
|
|
proxy_cache off;
|
|
}
|
|
|
|
location / {
|
|
proxy_pass http://web;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_read_timeout 300s;
|
|
proxy_connect_timeout 75s;
|
|
}
|
|
}
|