mirror of
https://github.com/TeamWiseFlow/wiseflow.git
synced 2025-01-23 10:50:25 +08:00
29 lines
595 B
YAML
Executable File
29 lines
595 B
YAML
Executable File
services:
|
|
web:
|
|
build:
|
|
dockerfile: Dockerfile.web
|
|
image: wiseflow/web
|
|
ports:
|
|
- 8090:8090
|
|
# env_file:
|
|
# - .env
|
|
volumes:
|
|
- ./pb/pb_data:/pb/pb_data
|
|
# - ./${PROJECT_DIR}:/pb/${PROJECT_DIR}
|
|
|
|
api:
|
|
build:
|
|
dockerfile: Dockerfile.api
|
|
image: wiseflow/api
|
|
tty: true
|
|
stdin_open: true
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- 7777:7777
|
|
volumes:
|
|
- ./${PROJECT_DIR}:/app/${PROJECT_DIR}
|
|
- ${EMBEDDING_MODEL_PATH}:${EMBEDDING_MODEL_PATH}
|
|
- ${RERANKER_MODEL_PATH}:${RERANKER_MODEL_PATH}
|
|
depends_on:
|
|
- web |