refactor(ansible): rename freecad_mcp env vars and rework deployment
- Drop `FREECAD_MCP_` prefix from env vars (use `FREECAD_*`) - Update freecad_mcp port from 22032 to 22061 - Document that FreeCAD bridge is required for tool calls - Replace kottos deployment with pallas deployment
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=Kottos — Pallas FastAgent runtime ({{ kottos_host | default(inventory_hostname) }})
|
||||
After=network.target
|
||||
Description=Kottos AI Agent Platform
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
@@ -8,26 +8,17 @@ Type=simple
|
||||
User={{ kottos_user }}
|
||||
Group={{ kottos_group }}
|
||||
WorkingDirectory={{ kottos_directory }}
|
||||
EnvironmentFile={{ kottos_directory }}/.env
|
||||
Environment="PATH={{ kottos_directory }}/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
ExecStart={{ kottos_directory }}/.venv/bin/pallas
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
RestartSec=10
|
||||
|
||||
# Journal is the durable sink (Alloy picks up via loki.source.journal and
|
||||
# relabels SyslogIdentifier=kottos into {service="pallas", project="kottos"}
|
||||
# for Loki). Stdout from pallas is already JSON thanks to
|
||||
# PALLAS_LOG_STDOUT=1 set in the .env file.
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=kottos
|
||||
|
||||
# Pallas needs to reach localhost sibling agents + upstream MCP servers
|
||||
# and read its own .venv / agents.yaml / config files. No hardening flags
|
||||
# that would block those paths.
|
||||
NoNewPrivileges=false
|
||||
ProtectSystem=false
|
||||
ProtectHome=false
|
||||
PrivateTmp=false
|
||||
# Security hardening
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
ReadWritePaths={{ kottos_directory }}
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user