Aprendido desplegando cotizador (Next.js+FastAPI+Postgres, Docker Compose, repo privado) en coolify.urieljareth.org (v4.1.2): - Documenta que /applications/* devuelve 404 en esta instancia y que configurar apps git build-from-source solo es posible por la UI web. - Nuevos scripts scripts/coolify-ui/: coolify-login.mjs (guarda storageState) y Configure-CoolifyComposeApp.mjs (build pack -> Docker Compose, Reload Compose File, env vars por Developer view, dominios por servicio). - references/coolify-4.1.2-notes.md: mapa de API funcional/404, gotchas (BOM UTF-8 rompe el parser YAML de Coolify; Reload Compose File obligatorio; pin de dominios por servicio o 503; no encolar deploys concurrentes; PowerShell [IO.File]::ReadAllText para payloads de llaves). - env.local.template.ps1: COOLIFY_EMAIL/COOLIFY_PASSWORD para la UI. - SKILL.md/TOOLS.md: seccion "instance reality" y flujo UI paso a paso. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
32 lines
1.6 KiB
PowerShell
32 lines
1.6 KiB
PowerShell
# Reference .env file. Copy to .env.local.ps1 and fill values.
|
|
#
|
|
# IMPORTANT: .env.local.ps1 is gitignored (see .gitignore). NEVER commit it.
|
|
# The .env.example file in the repo root shows the publicly-safe keys.
|
|
|
|
# Proxmox (already configured)
|
|
$env:PROXMOX_HOST = "192.168.0.200"
|
|
$env:PROXMOX_NODE = "thinkcentre"
|
|
$env:PROXMOX_USER = "root"
|
|
$env:PROXMOX_SSH_KEY = "C:\Users\Uriel Jareth\.openclaw\workspace\proxmox_key_win"
|
|
$env:PROXMOX_API_BASE_URL = "https://192.168.0.200:8006/api2/json"
|
|
$env:PROXMOX_API_TOKEN_ID = "root@pam!openclaw"
|
|
$env:PROXMOX_API_TOKEN_SECRET = "REPLACE_WITH_TOKEN_SECRET"
|
|
$env:PROXMOX_COOLIFY_LXC = "102"
|
|
|
|
# Coolify
|
|
$env:COOLIFY_API_URL = "https://coolify.urieljareth.org/api/v1"
|
|
$env:COOLIFY_TOKEN = "REPLACE_WITH_COOLIFY_TOKEN"
|
|
# Coolify UI login (email/password) — REQUIRED for Playwright-driven UI operations.
|
|
# This instance (v4.1.2) does NOT expose the /applications/* REST API (all 404),
|
|
# so configuring a git-based / Docker-Compose application (build pack, env vars,
|
|
# domains) can ONLY be done through the web UI. See deploy_skill/references/coolify-4.1.2-notes.md.
|
|
$env:COOLIFY_EMAIL = "REPLACE_WITH_COOLIFY_UI_EMAIL"
|
|
$env:COOLIFY_PASSWORD = "REPLACE_WITH_COOLIFY_UI_PASSWORD"
|
|
|
|
# GitHub (for deploy_skill: New-GitHubRepo.ps1, Invoke-GitHubApi.ps1)
|
|
# Generate at: https://github.com/settings/tokens
|
|
# Scopes needed: repo (classic) OR Contents:Read+Write, Metadata:Read (fine-grained).
|
|
# The token is used ONLY for API calls (create repo, set deploy key, etc.).
|
|
# git push/pull uses Windows Credential Manager (wincred) instead.
|
|
$env:GITHUB_TOKEN = "REPLACE_WITH_GITHUB_PAT"
|