NOTE: Deprecated — see the polydock-engine repo.
This package provides the AmazeeClaw Polydock AI app implementation.
It is intentionally minimal and built on top of the generic AI app so shared lifecycle logic stays upstream and only AmazeeClaw-specific behavior lives here.
- Base class:
FreedomtechHosting\PolydockAppAmazeeioGeneric\PolydockAiApp - Main app class:
Amazeeio\PolydockAppAmazeeclaw\PolydockAmazeeClawAiApp - Local overrides kept in this package:
src/Traits/Create/PostCreateAppInstanceTrait.phpsrc/Traits/Create/PreCreateAppInstanceTrait.phpsrc/Traits/Claim/ClaimAppInstanceTrait.phpsrc/Traits/UsesManualAmazeeAiCredentials.php
- Adds app instance field
openclaw_default_model - Adds store-app field
openclaw_default_model; instance value overrides store-app value - Injects
AMAZEEAI_DEFAULT_MODELinto Lagoon project variables - Extracts manual AI credentials from
request_dataduring pre-create and stores them in the app instance secret - Supports both flat legacy keys (
llm_key,llm_url,backend_token,team_id,vector_db_*) and nestedai.*/vector.*secret structures - Injects these Lagoon variables when present:
AMAZEEAI_BASE_URLAMAZEEAI_API_KEYAMAZEEAI_BACKEND_API_TOKENAMAZEE_AI_TEAM_IDAMAZEEAI_DEFAULT_MODELAMAZEEAI_VECTOR_DB_HOSTAMAZEEAI_VECTOR_DB_PORTAMAZEEAI_VECTOR_DB_PASSAMAZEEAI_VECTOR_DB_USERAMAZEEAI_VECTOR_DB_NAME
- Also sets
POLYDOCK_APP_NAME,POLYDOCK_USER_EMAIL,LAGOON_FEATURE_FLAG_INSIGHTS=false, andPOLYDOCK_CLAIMED_AT - Claim-time command execution defaults to service
openclaw-gatewayand containernode; claim script output must be a valid URL - If
lagoon-deploy-project-prefixis set, pre-create normalizes the project name and generates a unique suffix when needed
- PHP/Composer environment compatible with Polydock packages
- Dependency versions (see
composer.json), especiallyfreedomtech-hosting/polydock-app-amazeeio-generic
Install/update dependencies:
composer updateWhen running local workflows with Docker Compose, use detached mode:
docker-compose up -d