fix: sqlite DATABASE_URL absolute path (/// → ////) to match container CWD
This commit is contained in:
parent
3dc757a250
commit
e097b5f17b
1 changed files with 3 additions and 3 deletions
|
|
@ -13,7 +13,7 @@ services:
|
|||
dockerfile: packages/api/Dockerfile
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DATABASE_URL=sqlite+aiosqlite:///app/data/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:///app/data/remodel.db
|
||||
- DATABASE_URL=sqlite+aiosqlite:////app/data/remodel.db
|
||||
- REDIS_URL=redis://redis:6379
|
||||
depends_on:
|
||||
- redis
|
||||
|
|
@ -71,4 +71,4 @@ networks:
|
|||
external: true
|
||||
|
||||
volumes:
|
||||
redis_data:
|
||||
redis_data:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue