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