Release v1.2.4: Docker Support and Enhanced Permission Management
- Add comprehensive Docker deployment capabilities with dynamic ReadWritePaths - Implement DDNS_TEST_MODE environment variable for CI/CD pipeline testing - Enhance root group security handling with smart detection - Add automated permission troubleshooting script for Docker environments - Create complete Docker deployment guide (DOCKER.md) - Fix 'Read-only file system' errors in containerized environments - Improve nginx directory detection with multi-pattern support - Add Docker volume mounting with proper permission handling - Enhanced permission management for both Docker and traditional deployments
This commit is contained in:
@@ -76,3 +76,4 @@ test-output/
|
||||
*.test.log
|
||||
coverage.out
|
||||
|
||||
test_storage/
|
||||
|
||||
@@ -5,6 +5,37 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [1.2.4] - 2025-01-03
|
||||
|
||||
### Added
|
||||
- **Docker Support**: Comprehensive Docker deployment capabilities
|
||||
- Dynamic ReadWritePaths configuration in systemd services based on nginx directories
|
||||
- Automated permission troubleshooting script (`scripts/fix-docker-permissions.sh`)
|
||||
- Complete Docker deployment guide in `DOCKER.md`
|
||||
- Support for Docker volume mounting with proper permission handling
|
||||
|
||||
### Fixed
|
||||
- **Docker Container Compatibility**: Resolved "Read-only file system" errors in containerized environments
|
||||
- **CI/CD Test Mode**: Added `DDNS_TEST_MODE` environment variable for local storage testing
|
||||
- Automatically uses `/tmp/ddns-updater` for storage when enabled
|
||||
- Prevents filesystem access errors in CI/CD pipelines
|
||||
- **Root Group Security**: Enhanced handling of root group ownership
|
||||
- Smart detection of root group ownership on nginx directories
|
||||
- Security-conscious user management without compromising access
|
||||
- Proper warning messages for security-sensitive configurations
|
||||
|
||||
### Enhanced
|
||||
- **Nginx Directory Detection**: Improved multi-directory pattern recognition
|
||||
- Support for `/etc/nginx/sites-available`, `/etc/nginx/conf.d`, and custom paths
|
||||
- Dynamic systemd service configuration based on detected directories
|
||||
- **Permission Management**: Advanced Docker and traditional deployment permission handling
|
||||
- Automatic user group assignment based on directory ownership
|
||||
- Comprehensive permission diagnostics and troubleshooting
|
||||
|
||||
### Documentation
|
||||
- **Docker Guide**: Complete containerization documentation with examples
|
||||
- **Troubleshooting**: Enhanced permission debugging tools and guides
|
||||
|
||||
## [1.2.3] - 2025-10-03
|
||||
|
||||
### Fixed
|
||||
|
||||
Generated
+1
-1
@@ -291,7 +291,7 @@ checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b"
|
||||
|
||||
[[package]]
|
||||
name = "ddns_updater"
|
||||
version = "1.2.3"
|
||||
version = "1.2.4"
|
||||
dependencies = [
|
||||
"async-trait",
|
||||
"chrono",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ddns_updater"
|
||||
version = "1.2.3"
|
||||
version = "1.2.4"
|
||||
edition = "2021" # Use 2021 edition for better compatibility
|
||||
default-run = "ddns_updater"
|
||||
rust-version = "1.82" # Specify minimum Rust version for Debian 12
|
||||
|
||||
Vendored
+15
@@ -1,3 +1,18 @@
|
||||
ddns-updater (1.2.4-1) unstable; urgency=medium
|
||||
|
||||
* Add comprehensive Docker deployment support
|
||||
* Implement dynamic ReadWritePaths configuration in systemd services
|
||||
* Add automated permission troubleshooting script for Docker environments
|
||||
* Create complete Docker deployment guide (DOCKER.md)
|
||||
* Fix "Read-only file system" errors in containerized environments
|
||||
* Add DDNS_TEST_MODE environment variable for CI/CD pipeline testing
|
||||
* Enhance root group security handling with smart detection
|
||||
* Improve nginx directory detection with multi-pattern support
|
||||
* Add Docker volume mounting with proper permission handling
|
||||
* Enhanced permission management for both Docker and traditional deployments
|
||||
|
||||
-- ddns-updater <maintainer@example.com> Fri, 03 Jan 2025 12:00:00 +0000
|
||||
|
||||
ddns-updater (1.2.3-1) unstable; urgency=medium
|
||||
|
||||
* Fix "Cannot access /var/lib/ddns-updater" installation error
|
||||
|
||||
Reference in New Issue
Block a user