2025-03-28 22:45:42 +08:00
|
|
|
services:
|
|
|
|
frontend:
|
2025-04-06 01:01:36 +08:00
|
|
|
image: zstar1003/ragflowplus-management-web:v0.1.1
|
2025-03-28 22:45:42 +08:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
target: frontend
|
|
|
|
ports:
|
2025-04-06 01:01:36 +08:00
|
|
|
- "8888:80"
|
2025-03-28 22:45:42 +08:00
|
|
|
depends_on:
|
|
|
|
- backend
|
|
|
|
environment:
|
|
|
|
- API_URL=http://backend:5000
|
|
|
|
|
|
|
|
backend:
|
2025-04-06 01:01:36 +08:00
|
|
|
image: zstar1003/ragflowplus-management-server:v0.1.1
|
2025-03-28 22:45:42 +08:00
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile
|
|
|
|
target: backend
|
|
|
|
ports:
|
|
|
|
- "5000:5000"
|
|
|
|
environment:
|
|
|
|
- FLASK_ENV=development
|
2025-04-06 01:01:36 +08:00
|
|
|
- CORS_ALLOWED_ORIGINS=http://localhost:8888,http://frontend
|
2025-03-28 22:45:42 +08:00
|
|
|
extra_hosts:
|
|
|
|
- "host.docker.internal:host-gateway"
|