Update 4 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 40s

This commit is contained in:
Your Name
2025-09-20 10:26:23 +12:00
parent fb02cbd0e8
commit fa4ef61a0a
4 changed files with 81 additions and 13 deletions

View File

@@ -3,7 +3,14 @@
# Generate Filebeat configuration from template
# This script creates a filebeat.yml configuration file with proper authentication
CONFIG_DIR="${CONFIG_VOLUME:-${CONFIG_PATH:-./config}}"
# Determine config directory - use CONFIG_PATH from dropshell or fallback
if [ -n "$CONFIG_PATH" ]; then
CONFIG_DIR="$CONFIG_PATH"
elif [ -d "./config" ]; then
CONFIG_DIR="./config"
else
CONFIG_DIR="."
fi
# Ensure config directory exists
mkdir -p "$CONFIG_DIR"