40 lines
838 B
YAML
40 lines
838 B
YAML
services:
|
|
pocketbase:
|
|
build: ./pocketbase
|
|
container_name: bse_pocketbase
|
|
ports:
|
|
- "127.0.0.1:8090:8080"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- pb_data:/pb/pb_data
|
|
|
|
docling:
|
|
image: quay.io/docling-project/docling-serve:latest
|
|
container_name: bse_docling
|
|
ports:
|
|
- "127.0.0.1:5101:5001"
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:5001/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 60s
|
|
|
|
app:
|
|
build: .
|
|
container_name: bse_app
|
|
ports:
|
|
- "127.0.0.1:8091:8080"
|
|
environment:
|
|
- DOCLING_URL=http://docling:5001
|
|
- UPLOAD_FOLDER=/app/uploads
|
|
depends_on:
|
|
docling:
|
|
condition: service_healthy
|
|
volumes:
|
|
- ./uploads:/app/uploads
|
|
|
|
volumes:
|
|
pb_data:
|