From bbc0e66c71d6de588a0122518ad414f9b4a0611a Mon Sep 17 00:00:00 2001 From: Alexander Renz Date: Wed, 26 Nov 2025 19:13:45 +0100 Subject: [PATCH] Organize config examples: move config*.toml to examples/ directory --- examples/README.md | 25 +++++++++++++++++++ .../config-enhanced-security.toml | 0 .../config-mobile-resilient.toml | 0 .../config-network-switching.toml | 0 .../config-production-enhanced.toml | 0 .../config-production-validated.toml | 0 6 files changed, 25 insertions(+) create mode 100644 examples/README.md rename config-enhanced-security.toml => examples/config-enhanced-security.toml (100%) rename config-mobile-resilient.toml => examples/config-mobile-resilient.toml (100%) rename config-network-switching.toml => examples/config-network-switching.toml (100%) rename config-production-enhanced.toml => examples/config-production-enhanced.toml (100%) rename config-production-validated.toml => examples/config-production-validated.toml (100%) diff --git a/examples/README.md b/examples/README.md new file mode 100644 index 0000000..96084cc --- /dev/null +++ b/examples/README.md @@ -0,0 +1,25 @@ +# HMAC File Server Configuration Examples + +This directory contains example configuration files for various deployment scenarios. + +## Available Configurations + +- **config-enhanced-security.toml** - Security-hardened configuration with enhanced authentication +- **config-mobile-resilient.toml** - Optimized for mobile XMPP clients with extended grace periods +- **config-network-switching.toml** - Advanced network resilience for WiFi ↔ LTE switching +- **config-production-enhanced.toml** - Production-ready configuration with performance optimizations +- **config-production-validated.toml** - Validated production configuration for enterprise deployment + +## Usage + +Copy the example that best fits your use case and customize it: + +```bash +cp examples/config-production-validated.toml config.toml +# Edit config.toml with your settings +./hmac-file-server -config config.toml +``` + +## More Templates + +See the `templates/` directory for additional configuration templates for specific deployment methods (Docker, Podman, SystemD, Debian). diff --git a/config-enhanced-security.toml b/examples/config-enhanced-security.toml similarity index 100% rename from config-enhanced-security.toml rename to examples/config-enhanced-security.toml diff --git a/config-mobile-resilient.toml b/examples/config-mobile-resilient.toml similarity index 100% rename from config-mobile-resilient.toml rename to examples/config-mobile-resilient.toml diff --git a/config-network-switching.toml b/examples/config-network-switching.toml similarity index 100% rename from config-network-switching.toml rename to examples/config-network-switching.toml diff --git a/config-production-enhanced.toml b/examples/config-production-enhanced.toml similarity index 100% rename from config-production-enhanced.toml rename to examples/config-production-enhanced.toml diff --git a/config-production-validated.toml b/examples/config-production-validated.toml similarity index 100% rename from config-production-validated.toml rename to examples/config-production-validated.toml