# MEGA INFRA ยท BOQ Converter # # Deploy on Coolify: New Resource -> Docker Compose -> point it at this repo # and set the compose file to `docker-compose.yml`. Coolify builds the image # from the Dockerfile, publishes the port, and puts its own HTTPS in front. services: boq-converter: build: context: . dockerfile: Dockerfile args: # Coolify substitutes the commit it is building BUILD_SHA: "${BUILD_SHA:-dev}" image: mega-infra/boq-converter:latest container_name: mega-boq-converter restart: unless-stopped # Coolify routes to the first exposed port. Declaring it explicitly stops # it guessing from the Dockerfile. expose: - "8501" environment: # Where the per-consultant layout profiles are written. MUST be on the # volume below or every redeploy forgets who is who. BOQ_PROFILES: /data/profiles STREAMLIT_BROWSER_GATHER_USAGE_STATS: "false" TZ: Africa/Johannesburg volumes: # Named volume, so saved consultant profiles survive a rebuild. Without # this the "remember this consultant's layout" feature resets every deploy. - boq-profiles:/data/profiles healthcheck: test: ["CMD", "curl", "-fsS", "http://localhost:8501/_stcore/health"] interval: 30s timeout: 5s retries: 3 start_period: 20s volumes: boq-profiles: