Browse Source

fix: [apache/publish-dir] support custom ``$DATASTORE``

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
0k/dev/master
Valentin Lab 5 years ago
parent
commit
1ff27a6578
  1. 4
      apache/lib/common

4
apache/lib/common

@ -438,7 +438,7 @@ apache_code_dir() {
init-config-add "
$SERVICE_NAME:
volumes:
- $host_path:$local_path
- \"$HOST_DATASTORE${host_path##$DATASTORE}:$local_path\"
"
}
@ -478,7 +478,7 @@ $SERVICE_NAME:
volumes:
$(
for d in "${data[@]}"; do
echo " - $dst/$d:$local_path/$d"
echo " - $HOST_DATASTORE${dst##$DATASTORE}/$d:$local_path/$d"
done
)"

Loading…
Cancel
Save