github rtuszik/photon-docker 1.0.0

one day ago

Versioning Change

The versioning for this Docker image has been decoupled from the upstream Photon version. This allows for more intuitive versioning that reflects changes to the container environment and scripts, rather than centering around changes to the underlying Photon application.

Breaking Changes

Data volume path changed from /photon/photon_data to /photon/data

docker-compose.yml update:

    volumes:
    -   - photon_data:/photon/photon_data
    +   - photon_data:/photon/data

There will be an attempt to move the existing index to a new location on startup. If this fails you will have to remove the docker volume or remove the old index directory manually in case of a bind mount.

COUNTRY_CODE replaced with REGION system

 Old: COUNTRY_CODE=de
 New: REGION=andorra or REGION=europe

Please check the README to see a list of available regions.

  • Default base URL changed to https://r2.koalasec.org/public (was /public/experimental)
  • Index file naming changed to include OpenSearch version (e.g., photon-db-planet-0.7OS-latest.tar.bz2)

New Features

  • Photon Version: Bumps photon version to 0.7.3.
  • Non-Root User: The container now runs processes as a dedicated non-root user (photon) for improved security. The user and group IDs can be set via PUID and PGID environment variables to manage volume permissions.
  • Notifications: Support for status notifications (e.g., update completion, errors) has been added via Apprise. This can be configured with the APPRISE_URLS environment variable. #100
  • Docker Healthcheck: A HEALTHCHECK instruction has been added to the Dockerfile. The container will show as unhealthy whenever the photon-api is not available.

Improvements

  • Process Management: All startup, update, and monitoring tasks are now managed by a Python application.
  • Atomic Updates: The index update mechanism now performs an atomic move.
  • Download Logic: The index downloader now supports resumable downloads and performs more thorough disk space checks. Closes #71
  • Build and Release Pipeline: The CI workflow for building and publishing Docker images has been updated to better handle pre-release (beta) and stable (latest) tags. A workflow for code quality checks using ruff, ty and vulture was added.

Full Changelog: 0.7.2...1.0.0

Don't miss a new photon-docker release

NewReleases is sending notifications on new releases.