diff --git a/Dockerfile b/Dockerfile index 97381d3..9f295bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # Check Dockerhub for available tags: https://hub.docker.com/r/tryretool/backend/tags -ARG VERSION=agents-preview +ARG VERSION=X.Y.Z-stable FROM tryretool/code-executor-service:${VERSION} AS code-executor diff --git a/agents.yaml b/agents.yaml deleted file mode 100644 index c737ce7..0000000 --- a/agents.yaml +++ /dev/null @@ -1,29 +0,0 @@ -services: - # Temporal workers for Retool Agents - agent-worker: - build: - context: . - env_file: docker.env - environment: - - SERVICE_TYPE=WORKFLOW_TEMPORAL_WORKER - - WORKER_TEMPORAL_TASKQUEUE=agent - networks: - - backend - - code-executor - depends_on: - - postgres - restart: always - - agent-eval-worker: - build: - context: . - env_file: docker.env - environment: - - SERVICE_TYPE=AGENT_EVAL_TEMPORAL_WORKER - - WORKER_TEMPORAL_TASKQUEUE=agent-eval - networks: - - backend - - code-executor - depends_on: - - postgres - restart: always diff --git a/cloudformation/retool-agents.fargate.yaml b/cloudformation/retool-agents.fargate.yaml index cdda45b..9e1749a 100644 --- a/cloudformation/retool-agents.fargate.yaml +++ b/cloudformation/retool-agents.fargate.yaml @@ -14,8 +14,8 @@ Parameters: Description: Cluster to put service in. RetoolVersion: Type: String - Description: Retool version tag - Default: agents-preview + Description: Retool version tag (e.g. 3.253.0-stable) + Default: 3.253.0-stable DesiredCount: Type: Number Description: Default number of API container tasks to run diff --git a/compose.yaml b/compose.yaml index 25e5bdd..ac10058 100644 --- a/compose.yaml +++ b/compose.yaml @@ -1,7 +1,6 @@ # Comment out the below 'include' block to use Retool-managed Temporal (Enterprise license) include: - temporal.yaml - - agents.yaml services: api: @@ -59,11 +58,40 @@ services: - postgres restart: always + agent-worker: + build: + context: . + env_file: docker.env + environment: + - SERVICE_TYPE=WORKFLOW_TEMPORAL_WORKER + - WORKER_TEMPORAL_TASKQUEUE=agent + networks: + - backend + - code-executor + depends_on: + - postgres + restart: always + + agent-eval-worker: + build: + context: . + env_file: docker.env + environment: + - SERVICE_TYPE=AGENT_EVAL_TEMPORAL_WORKER + - WORKER_TEMPORAL_TASKQUEUE=agent-eval + networks: + - backend + - code-executor + depends_on: + - postgres + restart: always + code-executor: build: context: . target: code-executor environment: + - NODE_ENV=production - NODE_OPTIONS=--max_old_space_size=1024 networks: - code-executor diff --git a/install.sh b/install.sh index 69ee54e..d6f5ac6 100755 --- a/install.sh +++ b/install.sh @@ -88,9 +88,6 @@ ENCRYPTION_KEY=$(random 64) # Key to sign requests for authentication with Retool's backend API server JWT_SECRET=$(random 256) -# Endpoints for monitoring services -MONITORING_SERVICE_INGRESS_DOMAIN="https://monitoring-service.retool.com" - # License you received from my.retool.com or your Retool contact LICENSE_KEY=$licenseKey @@ -115,5 +112,7 @@ echo "✅ Created docker.env" # Next steps echo "" -echo "Done! Please ensure that the docker.env and retooldb.env files contain the expected values." +echo "Done! Check docker.env and retooldb.env files for expected values, and confirm" +echo "the Retool version in Dockerfile. We suggest the most recent X.Y.Z-stable version," +echo "see Dockerhub for available tags: https://hub.docker.com/r/tryretool/backend/tags" echo ""