Add auto-incrementing version display to web UI footer
Exposes GET /version endpoint in the web container (reads APP_VERSION env var). CI computes the version as 1.0.<git-commit-count> and passes it via --build-arg at build time. Both index.html and cv-matcher/index.html show the version in the footer via a JS fetch. docker-compose passes APP_VERSION through to the running container. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
# For local dev this is ignored (docker-compose.override.yml builds images locally).
|
||||
IMAGE_TAG=staging
|
||||
|
||||
# Application version displayed in the web UI footer.
|
||||
# CI sets this automatically to 1.0.<git-commit-count> at build time.
|
||||
APP_VERSION=1.0.0
|
||||
|
||||
# Volume base paths — controls where logs and uploaded files are stored on the host.
|
||||
# Portainer (staging/prod): leave unset to use the /opt/myai defaults.
|
||||
# Local dev: set to relative paths so logs and files land in the repo tree.
|
||||
|
||||
Reference in New Issue
Block a user