Skip to content

0.0.3

Latest

Choose a tag to compare

@samuelrince samuelrince released this 13 Nov 17:57

Upgrade notes

  • The Docker image now listens on container port 8000 (previously 80). Update port mappings, service target ports, reverse proxies, and health probes. For example: docker run -p 8000:8000 ghcr.io/mlco2/ecologits-api:0.0.3.
  • Python 3.11 or newer is required when running from source.

Highlights

  • Upgrade EcoLogits to 0.11.3, refreshing the bundled model catalog and impact estimation data.
  • Add GET /health, returning HTTP 200 with {"status":"ok"} for health probes.
  • Run the production container as a non-root user (UID/GID 10001), install only runtime dependencies, exclude local environment files, and enable unbuffered Python logs.
  • Validate Python 3.11 and 3.13, lint the Dockerfile, and check the production container before publishing release images for linux/amd64 and linux/arm64.
  • Add a self-hosting guide covering private infrastructure, offline deployments, health probes, and configuration for disabling documentation pages.

What's Changed

Full Changelog: 0.0.2...0.0.3