From d21dab8b60d67b4a7896fb0604cda05015fe87a1 Mon Sep 17 00:00:00 2001 From: youmusic-bot Date: Fri, 7 Nov 2025 01:31:26 +0000 Subject: [PATCH] chore: Update k8s manifest to version master-37 --- k8s/manifest.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/k8s/manifest.yaml b/k8s/manifest.yaml index 6636822..2212ae0 100644 --- a/k8s/manifest.yaml +++ b/k8s/manifest.yaml @@ -51,21 +51,19 @@ spec: persistentVolumeClaim: claimName: youmusic-data-pvc - # Init container to enable WAL mode and run database migrations + # Init container to run database migrations initContainers: - name: youmusic-migrations - image: "ghcr.io/wahyd4/you-music:master-36" + image: "ghcr.io/wahyd4/you-music:master-37" imagePullPolicy: Always workingDir: /app/backend command: - /bin/bash - -c - | - echo "🔧 Enabling WAL mode for SQLite..." - ./enable-wal.sh || true echo "🔄 Running database migrations..." alembic upgrade head - echo "✅ Database initialization complete!" + echo "✅ Migrations complete!" env: - name: PYTHONUNBUFFERED value: "1" @@ -87,7 +85,7 @@ spec: containers: - name: youmusic - image: "ghcr.io/wahyd4/you-music:master-36" # Auto-updated by CI + image: "ghcr.io/wahyd4/you-music:master-37" # Auto-updated by CI imagePullPolicy: Always workingDir: /app/backend command: @@ -95,8 +93,7 @@ spec: - -c - | echo "🚀 Starting YouMusic application..." - # Single worker required for SQLite to avoid database locks - exec uvicorn main:app --host 0.0.0.0 --port 8000 --workers 1 + exec uvicorn main:app --host 0.0.0.0 --port 8000 volumeMounts: - name: data mountPath: /app/data