fix: missing export DOKKU_LIB_HOST_ROOT
Populates DOKKU_LIB_HOST_ROOT into /etc/default/dokku which is required to enable plugins such as postgres to store data in the correct location.
This commit is contained in:
@@ -69,6 +69,11 @@ main() {
|
|||||||
chown dokku:dokku /etc/default/dokku
|
chown dokku:dokku /etc/default/dokku
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ -n "$DOKKU_LIB_HOST_ROOT" ]]; then
|
||||||
|
echo "export DOKKU_LIB_HOST_ROOT=$DOKKU_LIB_HOST_ROOT" >>/etc/default/dokku
|
||||||
|
chown dokku:dokku /etc/default/dokku
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -f /mnt/dokku/plugin-list ]]; then
|
if [[ -f /mnt/dokku/plugin-list ]]; then
|
||||||
while read line; do
|
while read line; do
|
||||||
local plugin_name="$(echo "$line" | awk -F: '{print $1}')"
|
local plugin_name="$(echo "$line" | awk -F: '{print $1}')"
|
||||||
|
|||||||
Reference in New Issue
Block a user