landvex: Fixar och tester klara för alla komponenter
- Datafabrik: Dockerfile fix, agentorkestrering fungerar - Vision: Identify-modell, FAISS, OCR alla testade - API: Alla 7 integrationstester passerade - Upplösare: Entitetsupplösning verifierad
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
"""
|
||||
Docker Compose för LandveX Admin Backend.
|
||||
"""
|
||||
services:
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
container_name: landvex-db
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: landvex
|
||||
ports:
|
||||
- "5432:5432"
|
||||
volumes:
|
||||
- landvex_postgres_data:/var/lib/postgresql/data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U postgres"]
|
||||
interval: 5s
|
||||
timeout: 5s
|
||||
retries: 5
|
||||
|
||||
api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
container_name: landvex-api
|
||||
environment:
|
||||
DATABASE_URL: postgresql+asyncpg://postgres:postgres@db:5432/landvex
|
||||
SECRET_KEY: ${SECRET_KEY:-change-me-in-production-landvex-secret-key-2026}
|
||||
DEBUG: "false"
|
||||
ports:
|
||||
- "8000:8000"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
volumes:
|
||||
- .:/app
|
||||
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
||||
|
||||
volumes:
|
||||
landvex_postgres_data:
|
||||
Reference in New Issue
Block a user