From 77003ee8c1033b1a9a4af2726454b8a88d9aa988 Mon Sep 17 00:00:00 2001 From: aaron <> Date: Tue, 12 May 2026 11:09:46 +0800 Subject: [PATCH] 1 --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 4ffecdb..9f31977 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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