fix(instances): add missing TOOL_NAME variable to compose template

The compose template uses {{TOOL_NAME}} for container_name but
we weren't passing it in the variables dict, causing YAML parse error.

Error was:
yaml: cannot use 'map[string]interface {}{"TOOL_NAME":interface {}(nil)}' as a map key
This commit is contained in:
Fusion
2026-05-20 15:30:45 +02:00
parent 7a88639250
commit 7450dd0ce5
+1
View File
@@ -148,6 +148,7 @@ async def create_instance(
"REPO_PATH": repo.path,
"INSTANCE_NAME": instance_name,
"INSTANCE_ID": instance_name,
"TOOL_NAME": instance_name,
"TOOL_PORT": tool_port,
"USER_ID": str(user_id),
"PROJECT_ID": str(project_id),