Fix: use absolute path /app/data/remodel.db
This commit is contained in:
parent
b184d74ad4
commit
3dc757a250
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ services:
|
|||
dockerfile: packages/api/Dockerfile
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DATABASE_URL=sqlite+aiosqlite:///./remodel.db
|
||||
- DATABASE_URL=sqlite+aiosqlite:///app/data/remodel.db
|
||||
- REDIS_URL=redis://redis:6379
|
||||
depends_on:
|
||||
- redis
|
||||
|
|
@ -37,7 +37,7 @@ services:
|
|||
command: python -m arq remodel_api.workers.main.WorkerSettings
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DATABASE_URL=sqlite+aiosqlite:///./remodel.db
|
||||
- DATABASE_URL=sqlite+aiosqlite:///app/data/remodel.db
|
||||
- REDIS_URL=redis://redis:6379
|
||||
depends_on:
|
||||
- redis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue