chore: Update k8s manifest to version master-37

This commit is contained in:
youmusic-bot
2025-11-07 01:31:26 +00:00
parent 36e9f17268
commit d21dab8b60
+5 -8
View File
@@ -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