Add versioned image tags to force Portainer to rebuild images

Docker was reusing old cached images even on redeploy. By adding
explicit image names with version tags (e.g. indeehub-app:v2),
Docker must build new images since the old ones had no tag or a
different tag. Bump the version (v2 -> v3) to force future rebuilds.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dorian
2026-02-13 18:11:51 +00:00
parent bb281b488b
commit eeffce4baa

View File

@@ -16,6 +16,7 @@ version: '3.8'
services: services:
# ── Frontend (nginx serving built Vue app) ────────────────── # ── Frontend (nginx serving built Vue app) ──────────────────
app: app:
image: indeehub-app:v2
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -43,6 +44,7 @@ services:
# ── Backend API (NestJS) ──────────────────────────────────── # ── Backend API (NestJS) ────────────────────────────────────
api: api:
image: indeehub-api:v2
build: build:
context: ./backend context: ./backend
dockerfile: Dockerfile dockerfile: Dockerfile
@@ -175,6 +177,7 @@ services:
# ── FFmpeg Transcoding Worker ─────────────────────────────── # ── FFmpeg Transcoding Worker ───────────────────────────────
ffmpeg-worker: ffmpeg-worker:
image: indeehub-ffmpeg:v2
build: build:
context: ./backend context: ./backend
dockerfile: Dockerfile.ffmpeg dockerfile: Dockerfile.ffmpeg