client: docker-finance.d: add plugins support

This commit is contained in:
2024-08-10 02:34:16 -07:00
parent 682fbe2f03
commit 082b946956

View File

@@ -84,6 +84,10 @@ if [[ "$global_platform" != "dev-tools" ]]; then
export DOCKER_FINANCE_CLIENT_SHARED="${HOME}/share.d"
fi
if [[ -z "$DOCKER_FINANCE_CLIENT_PLUGINS" ]]; then
export DOCKER_FINANCE_CLIENT_PLUGINS="${HOME}/plugins"
fi
# hledger-web
if [[ -z "$DOCKER_FINANCE_PORT_HLEDGER" ]]; then
export DOCKER_FINANCE_PORT_HLEDGER="5000"
@@ -114,6 +118,10 @@ if [[ "$global_platform" != "dev-tools" ]]; then
export DOCKER_FINANCE_CONTAINER_SHARED="/home/${DOCKER_FINANCE_USER}/share.d"
fi
if [[ -z "$DOCKER_FINANCE_CONTAINER_PLUGINS" ]]; then
export DOCKER_FINANCE_CONTAINER_PLUGINS="/home/${DOCKER_FINANCE_USER}/plugins"
fi
if [[ -z "$DOCKER_FINANCE_CONTAINER_CMD" ]]; then
export DOCKER_FINANCE_CONTAINER_CMD="finance.bash"
fi