forked from DevOps/deploy.stack
build(nginxpulse): add mkdir script for data volumes
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
VOLUMES_PATH="${1:-/data/volumes}"
|
||||
|
||||
mkdir -pv \
|
||||
"${VOLUMES_PATH}/postgres/data" \
|
||||
"${VOLUMES_PATH}/nginxpulse/logs" \
|
||||
"${VOLUMES_PATH}/nginxpulse/nginxpulse_data" \
|
||||
"${VOLUMES_PATH}/nginxpulse/configs"
|
||||
Reference in New Issue
Block a user