Migrate to named docker volumes
Deploy / Deploy (push) Successful in 25s

This commit is contained in:
2026-07-19 18:34:15 +01:00
parent c25f6dd524
commit c275dbd0c8
2 changed files with 60 additions and 6 deletions
Executable
+18
View File
@@ -0,0 +1,18 @@
#!/usr/bin/env sh
# Define a helper function that runs a command
# If the command fails, the script prints an error message
# and exits immediately.
run() {
# "$@" expands to all arguments passed to this function
# and preserves proper word splitting and quoting.
"$@" || {
echo "Error: command failed: $*" >&2
exit 1
}
}
run chown ente:ente /minio_data
run chown ente:ente /museum_data
run chown ente:ente /postgres_data