* chore: Update dockerfile paths and branch name in render.yaml and release.yml * chore(readthedocs.yaml): remove .readthedocs.yaml file as it is no longer needed chore(base.Dockerfile): remove base.Dockerfile as it is no longer used in the project feat(cdk-docker-compose.yml): add cdk-docker-compose.yml file to set up docker-compose for backend and frontend services * move dockerignore * chore: Remove test-results/.last-run.json file * chore: Cache Node.js dependencies during workflow execution * chore: Remove npm cache from workflow and cache Node.js dependencies * chore: Update shardIndex and shardTotal values in typescript_test.yml workflow * chore: Update Playwright test command with shard and worker options
38 lines
854 B
YAML
38 lines
854 B
YAML
version: "3"
|
|
networks:
|
|
langflow:
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: ./
|
|
dockerfile: ./dev.Dockerfile
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "7860:7860"
|
|
volumes:
|
|
- ./:/app
|
|
command: bash -c "uvicorn --factory langflow.main:create_app --host 0.0.0.0 --port 7860 --reload --loop asyncio"
|
|
networks:
|
|
- langflow
|
|
frontend:
|
|
build:
|
|
context: ./src/frontend
|
|
dockerfile: ./cdk.Dockerfile
|
|
args:
|
|
- BACKEND_URL=http://backend:7860
|
|
depends_on:
|
|
- backend
|
|
environment:
|
|
- VITE_PROXY_TARGET=http://backend:7860
|
|
ports:
|
|
- "8080:3000"
|
|
volumes:
|
|
- ./src/frontend/public:/home/node/app/public
|
|
- ./src/frontend/src:/home/node/app/src
|
|
- ./src/frontend/package.json:/home/node/app/package.json
|
|
restart: on-failure
|
|
networks:
|
|
- langflow
|