feat: add homelab deployment configs, documentation, and automation scripts

This commit is contained in:
2026-11-12 16:57:08 -05:00
parent 1228b957de
commit 5a70460e89
270 changed files with 9709 additions and 47 deletions

View File

@@ -0,0 +1,13 @@
import requests
import json
import urllib3
urllib3.disable_warnings()
url = "https://140.44.4.71:9443/api/auth"
res = requests.post(url, json={"username": "admin", "password": "Cfxg0GqDfocWcteE"}, verify=False)
jwt = res.json().get("jwt")
headers = {"Authorization": f"Bearer {jwt}"}
r_create = requests.post("https://140.44.4.71:9443/api/users/1/tokens", headers=headers, json={"description": "homepage-dashboard", "password": "Cfxg0GqDfocWcteE"}, verify=False)
print("Create token status:", r_create.status_code)
print("Token response:", r_create.json())