services: backend: container_name: dev_sage_api build: context: . target: dev env_file: .env volumes: - .:/app - /app/__pycache__ - ./data:/app/data - ./logs:/app/logs ports: - "8000:8000" environment: ENV: development DEBUG: "true" DATABASE_URL: "sqlite+aiosqlite:///./data/sage_dataven.db" restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/health"] interval: 30s timeout: 10s retries: 3