services: app: build: . container_name: crcc-intelligence-hub restart: unless-stopped ports: - "8501:8501" volumes: - ./data:/data - ./attachments:/data/attachments env_file: - .env environment: - DATABASE_PATH=/data/construction_hub.db - ATTACHMENTS_DIR=/data/attachments healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"] interval: 30s timeout: 10s retries: 3