Phase 13, part 9: running at scale, and the proof
The multi-tenant edition starts. compose.multi.yaml runs several copies behind Caddy, with the managed Postgres and Garage outside. A test walks every page and fragment, with ids filled in, and every MCP tool, as one team, and none shows another team's data or changes it; another has three copies share six teams' work, each team's turn once. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Caddy in front of the multi-tenant edition's copies (compose.multi.yaml).
|
||||
{
|
||||
{$SUPERMARKET_ACME}
|
||||
}
|
||||
|
||||
{$SUPERMARKET_DOMAIN} {
|
||||
{$SUPERMARKET_TLS}
|
||||
encode zstd gzip
|
||||
header Strict-Transport-Security "max-age=31536000"
|
||||
# Every copy of the app, found by name, round robin; a copy that stops
|
||||
# answering is left out until it's healthy.
|
||||
reverse_proxy {
|
||||
dynamic a supermarket 8080 {
|
||||
refresh 10s
|
||||
}
|
||||
lb_policy round_robin
|
||||
health_uri /healthz
|
||||
health_interval 10s
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user