Files
Kazier/docker-compose.yml
T
2026-07-12 12:19:19 +02:00

38 lines
816 B
YAML

services:
paddleocr:
build:
context: ./backend/ocr-server
dockerfile: Dockerfile
ports:
- "9090:8080"
environment:
- OCR_LANG=fr
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 5
start_period: 120s
# backend:
# build:
# context: ./backend
# dockerfile: Dockerfile
# ports:
# - "8080:8080"
# environment:
# - PORT=8080
# - DB_PATH=/data/vaultdrop.db
# - OCR_ENDPOINT=http://paddleocr:8080
# volumes:
# - backend-data:/data
# - ./backend/uploads:/app/uploads
# depends_on:
# paddleocr:
# condition: service_healthy
# restart: unless-stopped
volumes:
backend-data: