feat: add .env and conf.yaml for deer-flow configuration (#160)

* fix: update MILVUS_URI in .env.example for correct service endpoint

* feat: add .env and conf.yaml for deer-flow configuration
This commit is contained in:
hhhhsc701
2025-12-11 14:33:06 +08:00
committed by GitHub
parent a6e82ce68b
commit 72669d1293
5 changed files with 4 additions and 12 deletions

View File

@@ -50,8 +50,6 @@ jobs:
- name: Build Docker Image
run: |
cp -n runtime/deer-flow/.env.example runtime/deer-flow/.env
cp -n runtime/deer-flow/conf.yaml.example runtime/deer-flow/conf.yaml
docker build -t deer-flow-backend:amd64 . -f scripts/images/deer-flow-backend/Dockerfile
docker build -t deer-flow-frontend:amd64 . -f scripts/images/deer-flow-frontend/Dockerfile
@@ -96,8 +94,6 @@ jobs:
- name: Build Docker Image
run: |
cp -n runtime/deer-flow/.env.example runtime/deer-flow/.env
cp -n runtime/deer-flow/conf.yaml.example runtime/deer-flow/conf.yaml
docker build -t deer-flow-backend:arm64 . -f scripts/images/deer-flow-backend/Dockerfile
docker build -t deer-flow-frontend:arm64 . -f scripts/images/deer-flow-frontend/Dockerfile

View File

@@ -55,10 +55,10 @@ jobs:
- name: Package
run: |
cp runtime/deer-flow/.env.example deployment/docker/deer-flow/.env
cp runtime/deer-flow/conf.yaml.example deployment/docker/deer-flow/conf.yaml
cp runtime/deer-flow/.env.example deployment/helm/deer-flow/charts/public/.env
cp runtime/deer-flow/conf.yaml.example deployment/helm/deer-flow/charts/public/conf.yaml
cp runtime/deer-flow/.env deployment/docker/deer-flow/.env
cp runtime/deer-flow/conf.yaml deployment/docker/deer-flow/conf.yaml
cp runtime/deer-flow/.env deployment/helm/deer-flow/charts/public/.env
cp runtime/deer-flow/conf.yaml deployment/helm/deer-flow/charts/public/conf.yaml
tar -cvf datamate.tar deployment/ images
- name: Upload Package

View File

@@ -170,8 +170,6 @@ VALID_BUILD_TARGETS := backend database frontend runtime backend-python deer-flo
exit 1; \
fi
@if [ "$*" = "deer-flow" ]; then \
cp -n runtime/deer-flow/.env.example runtime/deer-flow/.env; \
cp -n runtime/deer-flow/conf.yaml.example runtime/deer-flow/conf.yaml; \
$(call docker-build,deer-flow-backend,deer-flow-backend); \
$(call docker-build,deer-flow-frontend,deer-flow-frontend); \
else \
@@ -265,8 +263,6 @@ VALID_SERVICE_TARGETS := datamate backend frontend runtime mineru "deer-flow" mi
(REGISTRY=$(REGISTRY) docker compose -f deployment/docker/datamate/docker-compose.yml up -d); \
fi; \
elif [ "$*" = "deer-flow" ]; then \
cp -n runtime/deer-flow/.env.example runtime/deer-flow/.env; \
cp -n runtime/deer-flow/conf.yaml.example runtime/deer-flow/conf.yaml; \
cp runtime/deer-flow/.env deployment/docker/deer-flow/.env; \
cp runtime/deer-flow/conf.yaml deployment/docker/deer-flow/conf.yaml; \
REGISTRY=$(REGISTRY) docker compose -f deployment/docker/deer-flow/docker-compose.yml up -d; \