diff options
Diffstat (limited to 'template.sh')
| -rwxr-xr-x | template.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/template.sh b/template.sh new file mode 100755 index 0000000..d7e5c9f --- /dev/null +++ b/template.sh @@ -0,0 +1,6 @@ +#/bin/bash + +set -Eeuo pipefail + +jq --rawfile value "/secrets/MODEL_KEY" '.providers.gufo.apiKey = $value' /templates/models.json > /config/models.json +jq --rawfile value "/secrets/PASEO_KEY_HASH" '.daemon.auth.password = $value' /templates/config.json > /config/config.json |
