Files
Proxmox-Coolify-Manager/deploy_skill/references/templates/env.local.template.ps1
T

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 = "keys\proxmox_ed25519" # relativo a la raíz del repo (≡ ~\.ssh\coolify_key)
$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) — used by the Playwright UI fallback flow.
# Since v4.3.14 the REST API is complete when called against the origin
# (http://192.168.0.117:8000/api/v1); the /applications/* 404 happens only via
# the public Cloudflare hostname. See deploy_skill/references/coolify-4.1.2-notes.md §11.
$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"