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
+18
-1
@@ -23,7 +23,7 @@ services:
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
context: ./backend
|
||||
dockerfile: Dockerfile
|
||||
target: runtime
|
||||
container_name: buyingagent-api
|
||||
@@ -35,6 +35,7 @@ services:
|
||||
DB_PASSWORD: "${DB_PASSWORD:-change_me}"
|
||||
ENVIRONMENT: "${ENVIRONMENT:-production}"
|
||||
ENGINE_BUILD: "${ENGINE_BUILD:-dev}"
|
||||
CORS_ALLOWED_ORIGINS: "${CORS_ALLOWED_ORIGINS:-http://localhost:4173,http://127.0.0.1:4173}"
|
||||
ports:
|
||||
- "${BUYING_AGENT_API_BIND:-127.0.0.1}:${BUYING_AGENT_API_PORT:-8000}:8000"
|
||||
depends_on:
|
||||
@@ -56,6 +57,22 @@ services:
|
||||
networks:
|
||||
- buyingagent-network
|
||||
|
||||
frontend:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile
|
||||
container_name: buyingagent-frontend
|
||||
environment:
|
||||
API_PROXY_TARGET: http://api:8000
|
||||
ports:
|
||||
- "${BUYING_AGENT_FRONTEND_BIND:-127.0.0.1}:${BUYING_AGENT_FRONTEND_PORT:-4173}:80"
|
||||
depends_on:
|
||||
api:
|
||||
condition: service_healthy
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- buyingagent-network
|
||||
|
||||
volumes:
|
||||
buyingagent-db-data:
|
||||
|
||||
|
||||
Reference in new issue
Block a user