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
@@ -41,7 +41,13 @@ jobs:
|
||||
export ENGINE_BUILD BUYING_AGENT_API_PORT
|
||||
ENGINE_BUILD="$(git rev-parse --short HEAD)"
|
||||
BUYING_AGENT_API_PORT=8095
|
||||
docker compose -f docker-compose.dev-env.yml build --pull=false api
|
||||
if ! grep -q '^CORS_ALLOWED_ORIGINS=' .env; then
|
||||
echo 'CORS_ALLOWED_ORIGINS=http://192.168.2.49:5174,http://localhost:5173' >> .env
|
||||
fi
|
||||
if ! grep -q '^BUYING_AGENT_FRONTEND_PORT=' .env; then
|
||||
echo 'BUYING_AGENT_FRONTEND_PORT=5174' >> .env
|
||||
fi
|
||||
docker compose -f docker-compose.dev-env.yml build --pull=false api frontend
|
||||
if ! ENGINE_BUILD="$ENGINE_BUILD" BUYING_AGENT_API_PORT="$BUYING_AGENT_API_PORT" \
|
||||
docker compose -f docker-compose.dev-env.yml up -d --wait; then
|
||||
echo "compose up --wait failed — api logs:"
|
||||
|
||||
Reference in new issue
Block a user