Releases: rtuszik/photon-docker
0.6.2-rev.2-dev
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
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
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
New Photon release: 0.6.2
This is an automated release created by the GitHub Actions workflow.
0.6.1-rev.4.4
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
What's Changed
Full Changelog: 0.6.1-rev.4.1...0.6.1-rev.4.3
0.6.1-rev.4.1
What's Changed
Full Changelog: 0.6.1-rev.4...0.6.1-rev.4.1
0.6.1-rev.4
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
New Photon release: 0.6.1
This is an automated release created by the GitHub Actions workflow.
Release 0.6.0
New Photon release: 0.6.0
This is an automated release created by the GitHub Actions workflow.