1
This commit is contained in:
parent
7215558813
commit
77003ee8c1
@ -7,14 +7,14 @@ services:
|
||||
environment:
|
||||
DATABASE_URL: sqlite+aiosqlite:////app/data/palm_reading.db
|
||||
UPLOAD_DIR: /app/storage/uploads
|
||||
CORS_ORIGINS: '["http://127.0.0.1:3000","http://localhost:3000"]'
|
||||
CORS_ORIGINS: '["http://127.0.0.1:3011","http://localhost:3011"]'
|
||||
ports:
|
||||
- "8000:8000"
|
||||
- "8066:8000"
|
||||
volumes:
|
||||
- backend_data:/app/data
|
||||
- backend_storage:/app/storage
|
||||
healthcheck:
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/health').read()"]
|
||||
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8066/health').read()"]
|
||||
interval: 15s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
@ -23,9 +23,9 @@ services:
|
||||
build:
|
||||
context: ./web
|
||||
environment:
|
||||
API_INTERNAL_URL: http://backend:8000
|
||||
API_INTERNAL_URL: http://backend:8066
|
||||
ports:
|
||||
- "3000:3000"
|
||||
- "3011:3000"
|
||||
depends_on:
|
||||
backend:
|
||||
condition: service_healthy
|
||||
|
||||
Loading…
Reference in New Issue
Block a user