Remove APP_VERSION from docker-compose — version is baked into image by CI
Setting APP_VERSION in docker-compose with a :-unknown fallback would override the version baked into the image at build time. The CI already embeds it via --build-arg APP_VERSION=1.0.<commit-count>, so compose should stay silent. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -7,10 +7,6 @@
|
|||||||
# For local dev this is ignored (docker-compose.override.yml builds images locally).
|
# For local dev this is ignored (docker-compose.override.yml builds images locally).
|
||||||
IMAGE_TAG=staging
|
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.
|
# 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.
|
# 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.
|
# Local dev: set to relative paths so logs and files land in the repo tree.
|
||||||
|
|||||||
@@ -263,7 +263,6 @@ services:
|
|||||||
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
- ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080}
|
||||||
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
- APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging}
|
||||||
|
|
||||||
- APP_VERSION=${APP_VERSION:-unknown}
|
|
||||||
- Site__Mode=${Site__Mode:-Normal}
|
- Site__Mode=${Site__Mode:-Normal}
|
||||||
networks:
|
networks:
|
||||||
- myai-network
|
- myai-network
|
||||||
|
|||||||
Reference in New Issue
Block a user