fix: add missing /app/data volume for SQLite migration
All checks were successful
Deploy Development / deploy (push) Successful in 1m3s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 13s

The data volume was missing in dev environment, preventing automatic
SQLite → PostgreSQL migration. The SQLite database (bodytrack.db) was
not accessible to the container, so migration was skipped.

This fixes the "No SQLite database found" message when data exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Lars 2026-03-18 12:11:37 +01:00
parent 6f0f1ae9b4
commit d2c578de83

View File

@ -27,6 +27,7 @@ services:
postgres-dev: postgres-dev:
condition: service_healthy condition: service_healthy
volumes: volumes:
- bodytrack_bodytrack-data:/app/data
- bodytrack_bodytrack-photos:/app/photos - bodytrack_bodytrack-photos:/app/photos
environment: environment:
# Database # Database
@ -65,5 +66,7 @@ services:
volumes: volumes:
mitai_dev_postgres_data: mitai_dev_postgres_data:
bodytrack_bodytrack-data:
external: true
bodytrack_bodytrack-photos: bodytrack_bodytrack-photos:
external: true external: true