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
|
|
@ -25,5 +25,6 @@ COPY --from=build /src/apps/web/dist ./web
|
|||
RUN mkdir -p /data && chown node:node /data
|
||||
USER node
|
||||
VOLUME /data
|
||||
# Default port; compose sets PORT (see compose.yaml).
|
||||
EXPOSE 8080
|
||||
CMD ["node", "--disable-warning=ExperimentalWarning", "server/main.ts"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue