- Replace S3 bigquery_tables metadata lookup with paginated GraphQL API call to fetch table and column descriptions from Base dos Dados - Add gera_schemas.py for schema compilation and S3 inventory - Add schemas.json and file_tree.md as generated reference artifacts - Add websocket proxy in Caddyfile for ttyd on port 7681 - Ignore generated context/ artifacts in .gitignore - Add openai to requirements.txt
36 lines
590 B
Caddyfile
36 lines
590 B
Caddyfile
:8080 {
|
|
handle /health {
|
|
respond 200
|
|
}
|
|
|
|
handle /login {
|
|
reverse_proxy 127.0.0.1:8081
|
|
}
|
|
|
|
handle /query {
|
|
reverse_proxy 127.0.0.1:8081
|
|
}
|
|
|
|
@websocket {
|
|
header Connection *Upgrade*
|
|
header Upgrade websocket
|
|
}
|
|
|
|
handle @websocket {
|
|
reverse_proxy localhost:7681 {
|
|
flush_interval -1
|
|
}
|
|
}
|
|
|
|
handle {
|
|
forward_auth 127.0.0.1:8081 {
|
|
uri /auth
|
|
copy_headers Cookie
|
|
}
|
|
reverse_proxy localhost:7681 {
|
|
flush_interval -1
|
|
}
|
|
}
|
|
|
|
}
|