
* docker-example overhaul Update docker-example with a more realistic multi-compose deployment, and also a more simplistic single-image deploy. * Use `uv` for faster bootstrapping * Separate simple and production-ready docker files * Split compose.yaml into 3 parts * Persist sqlite db and tls keys * Include postgres and redis * Include Adminer and redis-commander for adminstration * Suppose upload persistence * Update documentation * Update Caddyfile for compatibility with new Upload API * Simple Dockerfile: keep `reflex export --frontend-only` Pre-pack the resulting image with npm dependencies to reduce startup time * Simplify simple docker file to just use pip
15 lines
204 B
Caddyfile
15 lines
204 B
Caddyfile
{$DOMAIN}
|
|
|
|
encode gzip
|
|
|
|
@backend_routes path /_event/* /ping /_upload /_upload/*
|
|
handle @backend_routes {
|
|
reverse_proxy app:8000
|
|
}
|
|
|
|
root * /srv
|
|
route {
|
|
try_files {path} {path}/ /404.html
|
|
file_server
|
|
}
|