Fix deploy: force Docker rebuild, add version check and redeploy script

This commit is contained in:
shop
2026-06-25 17:10:54 +03:00
parent efc95d48c4
commit 306002bfa1
9 changed files with 82 additions and 7 deletions
+4
View File
@@ -26,6 +26,9 @@ services:
build:
context: .
dockerfile: Dockerfile
args:
APP_VERSION: ${APP_VERSION:-dev}
BUILD_TIME: ${BUILD_TIME:-}
container_name: shop-app
restart: unless-stopped
env_file: .env
@@ -34,6 +37,7 @@ services:
DB_PORT: "5432"
APP_PORT: "8080"
UPLOAD_DIR: /app/data/uploads
APP_VERSION: ${APP_VERSION:-dev}
volumes:
- uploads:/app/data/uploads
depends_on: