Skip to content

Releases: rtuszik/photon-docker

0.6.2-rev.2-dev

22 Jan 20:44
Compare
Choose a tag to compare
0.6.2-rev.2-dev Pre-release
Pre-release

dev images are available using rtuszik/photon-docker:dev

What's Changed

  • fix paths
  • refactor entire script
  • ensure update strategy is respected
  • add FORCE_UPDATE environment variable to manually download the index on start

Full Changelog: 0.6.2-rev.1...0.6.2-rev.2

0.6.2-rev.2

30 Jan 10:48
6ff38a8
Compare
Choose a tag to compare

Enhancements

  • Improved Directory Management: Enhanced the script to better handle directory structures and manage temporary files.
  • Debugging Functionality: Added more detailed logging and debugging capabilities for better issue tracking and resolution.

Refactorings

  • Variable Cleanup: Cleaned up unused variables and optimized the code base for better performance and readability.
  • Modularization of Index Management: Refactored the index management system into a more modular structure to improve maintainability.
  • Service Start Optimization: Optimized the logic for starting and updating the Photon service to prevent redundant restarts.

New Features

  • FORCE_UPDATE Option: Added a new FORCE_UPDATE environment variable to trigger index updates on container startup, irrespective of the update strategy.
  • Error Handling Enhancements: Improved error handling for file operations, including better cleanup procedures and error logging.

Documentation

  • README Updates: Updated the README to include information about the new FORCE_UPDATE option and an example configuration.

Workflow Changes

  • Lint Workflow: Updated the GitHub Actions lint workflow to use a slimmer version of the Super Linter and adjusted the fetch depth for the checkout action.

For more details, you can check the commits in the pull request.

Full Changelog: 0.6.2-rev.1...0.6.2-rev.2

0.6.2-rev.1

13 Jan 18:07
7c6f253
Compare
Choose a tag to compare

What's Changed

  • docs: fix readme to reflect actual defaults by @rtuszik in #33
  • fix auto update on startup by @rtuszik in #34

Full Changelog: 0.6.2...0.6.2-rev.1

Release 0.6.2

13 Jan 10:05
dac61d9
Compare
Choose a tag to compare

New Photon release: 0.6.2

This is an automated release created by the GitHub Actions workflow.

0.6.1-rev.4.4

13 Jan 09:58
1f7f597
Compare
Choose a tag to compare

What's Changed

  • fix: Update disk space check to use photon_data directory by @rtuszik in #29
  • docs: clarify update strategies by @rtuszik in #30

Full Changelog: 0.6.1-rev.4.3...0.6.1-rev.4.4

0.6.1-rev.4.3

12 Jan 21:21
2249ea8
Compare
Choose a tag to compare

What's Changed

  • feat: free space check with remote file-size polling by @rtuszik in #26

Full Changelog: 0.6.1-rev.4.1...0.6.1-rev.4.3

0.6.1-rev.4.1

12 Jan 15:07
8d81326
Compare
Choose a tag to compare

What's Changed

  • fix: fix country code env var requirement, default update strategy by @rtuszik in #24

Full Changelog: 0.6.1-rev.4...0.6.1-rev.4.1

0.6.1-rev.4

12 Jan 14:43
659c019
Compare
Choose a tag to compare

Added

  • Rewritten start-photon script for automated, unsupervised index updates.
  • Update modes:
    • Parallel: downloads index to temp directory, keeping photon running during the download (default)
    • Sequential: minimize storage use by deleting old index before downloading - increases downtime significantly.
  • Service shutdown during updates to ensure data integrity.
  • Configurable logging with detailed timestamps and adjustable log levels.

Fixed

  • Improved error handling and script reliability.
  • Enhanced directory management with automated validation and cleanup.

It is suggested that you update your docker-compose.yml to configure your settings. Otherwise, the defaults will be used:

services:
    photon:
        image: rtuszik/photon-docker:latest
        container_name: "photon-docker"
        environment:
            - UPDATE_STRATEGY=PARALLEL
            - UPDATE_INTERVAL=24h # Polling interval - smhd
            - LOG_LEVEL=INFO  # Options: DEBUG, INFO, ERROR
            # - COUNTRY_CODE=zw
        volumes:
            - photon_data:/photon/photon_data
        restart: unless-stopped
        ports:
            - "2322:2322"
volumes:
    photon_data:

Full Changelog: 0.6.1...0.6.1-rev4

Release 0.6.1

05 Dec 00:41
Compare
Choose a tag to compare

New Photon release: 0.6.1

This is an automated release created by the GitHub Actions workflow.

Release 0.6.0

30 Oct 00:37
2c1e315
Compare
Choose a tag to compare

New Photon release: 0.6.0

This is an automated release created by the GitHub Actions workflow.