mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-16 05:24:58 +02:00
Update CLIProxyAPI installation script
Generate random management password and API key for CLIProxyAPI configuration.
This commit is contained in:
committed by
GitHub
parent
dc5eea761c
commit
e59bd95b9c
@@ -22,7 +22,6 @@ fetch_and_deploy_gh_release "cliproxyapi" "router-for-me/CLIProxyAPI" "prebuild"
|
||||
msg_info "Configuring CLIProxyAPI"
|
||||
MANAGEMENT_PASSWORD=$(openssl rand -hex 32)
|
||||
API_KEY="sk-$(openssl rand -hex 16)"
|
||||
|
||||
cat <<EOF >/opt/cliproxyapi/config.yaml
|
||||
host: ""
|
||||
port: 8317
|
||||
@@ -39,7 +38,6 @@ quota-exceeded:
|
||||
routing:
|
||||
strategy: "round-robin"
|
||||
EOF
|
||||
|
||||
msg_ok "Configured CLIProxyAPI"
|
||||
|
||||
msg_info "Creating Service"
|
||||
|
||||
Reference in New Issue
Block a user