blob: d7e5c9fcbeaedbb6ce718e2751c1ea49610232ca (
plain)
1
2
3
4
5
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
|