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
|
dockerfile: packages/api/Dockerfile
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=sqlite+aiosqlite:///app/data/remodel.db
|
- DATABASE_URL=sqlite+aiosqlite:////app/data/remodel.db
|
||||||
- REDIS_URL=redis://redis:6379
|
- REDIS_URL=redis://redis:6379
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
@ -37,7 +37,7 @@ services:
|
||||||
command: python -m arq remodel_api.workers.main.WorkerSettings
|
command: python -m arq remodel_api.workers.main.WorkerSettings
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- DATABASE_URL=sqlite+aiosqlite:///app/data/remodel.db
|
- DATABASE_URL=sqlite+aiosqlite:////app/data/remodel.db
|
||||||
- REDIS_URL=redis://redis:6379
|
- REDIS_URL=redis://redis:6379
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
|
|
@ -71,4 +71,4 @@ networks:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
redis_data:
|
redis_data:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue