Files
proxmox-task/.env.template

16 lines
352 B
Plaintext
Raw Normal View History

# Proxmox 配置
PROXMOX_HOST=https://your-proxmox-host:8006
PROXMOX_API_TOKEN=your-user@pve!your-token
# 虚拟机配置
VM_ID=100
VM_SSH_HOST=your-vm-ip
VM_SSH_PORT=22
VM_SSH_USER=root
VM_SSH_KEY_PATH=~/.ssh/id_rsa
# 命令监听配置
COMMAND_DIR=/var/task-commands
# 状态汇报URL可选
STATUS_REPORT_URL=http://your-report-server/status