mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
22 lines
617 B
Bash
22 lines
617 B
Bash
echo "${_group}Creating volumes for persistent storage ..."
|
|
|
|
create_volume() {
|
|
create_command="$CONTAINER_ENGINE volume create"
|
|
if [ "$CONTAINER_ENGINE" = "podman" ]; then
|
|
create_command="$create_command --ignore $1"
|
|
else
|
|
create_command="$create_command --name=$1"
|
|
fi
|
|
|
|
$create_command
|
|
}
|
|
|
|
echo "Created $(create_volume sentry-clickhouse)."
|
|
echo "Created $(create_volume sentry-data)."
|
|
echo "Created $(create_volume sentry-kafka)."
|
|
echo "Created $(create_volume sentry-postgres)."
|
|
echo "Created $(create_volume sentry-redis)."
|
|
echo "Created $(create_volume sentry-symbolicator)."
|
|
|
|
echo "${_endgroup}"
|