Stelle den Frontend-MVP und die v0.3-API auf develop bereit, damit Dev API und PWA zusammen deployen.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
827e6a2a11
commit
b276758ee1
152 files changed
+25846
-34
No files matched your search
@@ -21,7 +21,7 @@ services:
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
target: runtime
|
||||
environment:
|
||||
@@ -32,6 +32,7 @@ services:
|
||||
DB_PASSWORD: "${DB_PASSWORD:-dev_password_change_me}"
|
||||
ENVIRONMENT: "${ENVIRONMENT:-development}"
|
||||
ENGINE_BUILD: "${ENGINE_BUILD:-dev}"
|
||||
CORS_ALLOWED_ORIGINS: "${CORS_ALLOWED_ORIGINS:-http://localhost:5173,http://127.0.0.1:5173,http://192.168.2.49:5174}"
|
||||
ports:
|
||||
- "${BUYING_AGENT_API_PORT:-8095}:8000"
|
||||
depends_on:
|
||||
@@ -53,10 +54,25 @@ services:
|
||||
networks:
|
||||
- dev-buyingagent-network
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
environment:
|
||||
API_PROXY_TARGET: http://api:8000
|
||||
ports:
|
||||
- "${BUYING_AGENT_FRONTEND_PORT:-5174}:80"
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dev-buyingagent-network
|
||||
|
||||
api-test:
|
||||
profiles: ["test"]
|
||||
build:
|
||||
context: .
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
target: test
|
||||
environment:
|
||||
@@ -67,6 +83,7 @@ services:
|
||||
DB_PASSWORD: "${DB_PASSWORD:-dev_password_change_me}"
|
||||
ENVIRONMENT: test
|
||||
ENGINE_BUILD: test
|
||||
CLOCK_NOW: "2026-10-03T12:00:00Z"
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in new issue
Block a user