fix: add missing /app/data volume for SQLite migration
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:
parent
6f0f1ae9b4
commit
d2c578de83
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user