Files
dropshell-templates/graylog/_volumes.sh
j 70dab12114
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
docs: Add 16, update 2 and remove 2 files
2026-01-26 21:17:15 +13:00

11 lines
431 B
Bash
Executable File

#!/bin/bash
# Define volume items for graylog containers
# These are used across backup, restore, create, and destroy operations
# Docker Compose creates volumes with project name prefix: {project}_{volume_name}
get_graylog_volumes() {
echo "volume:mongodb_data:${CONTAINER_NAME}_mongodb_data"
echo "volume:opensearch_data:${CONTAINER_NAME}_opensearch_data"
echo "volume:graylog_data:${CONTAINER_NAME}_graylog_data"
}