All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 9s
11 lines
431 B
Bash
Executable File
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"
|
|
}
|