feat: add the cli_proxy_api role #56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/cli-proxy-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Runs CLIProxyAPI as a Compose stack under
/opt/cli_proxy_api, replacing the a2 role from the closed #55: that service is gone from ai.lan (stack stopped,/opt/a2removed).eceasy/cli-proxy-api:v8.1.8;auths(OAuth credentials),logsandpluginsare created up front and mounted, so they survive a container recreation;config.yamlonce it starts — it bcrypt-hashes the management key, saves the generatedserver-idand keeps the panel's edits — so a template task would rotate the salt and the identity on every converge and revert the panel. The role writes the file only when it is absent;changedonly when Compose creates, recreates or starts a container, so a second run is idempotent;state.mdasks for a role's state.Deployed with
ansible-playbook playbooks/ai.yamlon ai.lan: the container is up onv8.1.8,/v1/modelsanswers401without a key and200with the client key, the panel answers200on/management.html, and/v8/management/configanswers200with the management key. A second run reportschanged=0, and a restic backup now snapshots/opt/cli_proxy_api/config.yaml,authsandpluginsnext to/opt/bifrost/data.Pull request closed