Make the app's port configurable with PORT (default 8080)
compose.yaml passes ${PORT:-8080} to the app, its healthcheck and the
standalone Caddy (APP_PORT in the Caddyfile). Docs note that the panel's
domain must target the same port.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013FYo6JSV1fDU1fm3LU77iF
This commit is contained in:
parent
9cd4c82118
commit
0217d62bf0
5 changed files with 18 additions and 10 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# Security headers (CSP etc.) are set by the app itself.
|
||||
{$DOMAIN} {
|
||||
encode zstd gzip
|
||||
reverse_proxy app:8080 {
|
||||
reverse_proxy app:{$APP_PORT:8080} {
|
||||
# Server-Sent Events: don't buffer
|
||||
flush_interval -1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue