fix: remove dev volume mounts that shadow app code, add named volume for data, fix nginx resolver
This commit is contained in:
+7
-9
@@ -8,13 +8,8 @@ services:
|
||||
environment:
|
||||
- PYTHONUNBUFFERED=1
|
||||
volumes:
|
||||
- ./backend/data:/app/data
|
||||
- ./backend/app:/app/app
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:8000/api/health"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
- kopilka-data:/app/data
|
||||
restart: unless-stopped
|
||||
|
||||
frontend:
|
||||
build:
|
||||
@@ -23,5 +18,8 @@ services:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
kopilka-data:
|
||||
|
||||
Reference in New Issue
Block a user