From 7441eb8cda21e5d3fc1f971c2b2ee90251778920 Mon Sep 17 00:00:00 2001 From: claude Date: Fri, 22 May 2026 20:20:56 +0300 Subject: [PATCH] =?UTF-8?q?Remove=20APP=5FVERSION=20from=20docker-compose?= =?UTF-8?q?=20=E2=80=94=20version=20is=20baked=20into=20image=20by=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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., so compose should stay silent. Co-Authored-By: Claude Sonnet 4.6 --- docker-compose/.env.template | 4 ---- docker-compose/docker-compose.yml | 1 - 2 files changed, 5 deletions(-) diff --git a/docker-compose/.env.template b/docker-compose/.env.template index 95646d1..3e24c53 100644 --- a/docker-compose/.env.template +++ b/docker-compose/.env.template @@ -7,10 +7,6 @@ # 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. 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. diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index 3b617b8..87bc49f 100644 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -263,7 +263,6 @@ services: - ASPNETCORE_URLS=${ASPNETCORE_URLS:-http://+:8080} - APP_ENVIRONMENT_NAME=${APP_ENVIRONMENT_NAME:-myai.staging} - - APP_VERSION=${APP_VERSION:-unknown} - Site__Mode=${Site__Mode:-Normal} networks: - myai-network