AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(platform): unblock e2e seed in E2B sandboxes (#13054)
Nicholas Tindle9789cf42f9f7
diff --git a/autogpt_platform/backend/.env.default b/autogpt_platform/backend/.env.defaultindex 98710591c4..0eefdb2c48 100644--- a/autogpt_platform/backend/.env.default+++ b/autogpt_platform/backend/.env.default@@ -81,7 +81,7 @@ NVIDIA_API_KEY=# Embedder key falls back to CHAT_OPENAI_API_KEY (AutoPilot), then OPENAI_API_KEY.GRAPHITI_FALKORDB_HOST=localhostGRAPHITI_FALKORDB_PORT=6380-GRAPHITI_FALKORDB_PASSWORD=+GRAPHITI_FALKORDB_PASSWORD=local-dev-passwordGRAPHITI_LLM_MODEL=gpt-4.1-miniGRAPHITI_EMBEDDER_MODEL=text-embedding-3-smallGRAPHITI_SEMAPHORE_LIMIT=5diff --git a/autogpt_platform/docker-compose.platform.yml b/autogpt_platform/docker-compose.platform.ymlindex d792c2a3ca..c210791522 100644--- a/autogpt_platform/docker-compose.platform.yml+++ b/autogpt_platform/docker-compose.platform.yml@@ -140,8 +140,16 @@ services:ports:- "6380:6379" # FalkorDB Redis protocol (6380 to avoid clash with Redis on 6379)- "3001:3000" # FalkorDB web UI- environment:- - REDIS_ARGS=--requirepass ${GRAPHITI_FALKORDB_PASSWORD:-}+ <<: *backend-env-files+ # `:?` exits the container if the var is unset/empty, surfacing a+ # missing-config error instead of silent `--requirepass ""` auth.+ entrypoint:+ - /bin/sh+ - -c+ - >-+ export REDIS_ARGS="--requirepass $${GRAPHITI_FALKORDB_PASSWORD:?GRAPHITI_FALKORDB_PASSWORD must be set}"+ && exec /var/lib/falkordb/bin/run.sh "$$@"+ - --volumes:- falkordb_data:/datanetworks:@@ -150,7 +158,7 @@ services:test:["CMD-SHELL",- 'redis-cli -p 6379 -a "${GRAPHITI_FALKORDB_PASSWORD:-}" --no-auth-warning ping && wget --spider -q http://localhost:3000 || exit 1',+ 'redis-cli -p 6379 -a "$${GRAPHITI_FALKORDB_PASSWORD:-}" --no-auth-warning ping | grep -q PONG',]interval: 10stimeout: 5sdiff --git a/autogpt_platform/docker-compose.yml b/autogpt_platform/docker-compose.ymlindex 94e356941d..3371d8b9d2 100644--- a/autogpt_platform/docker-compose.yml+++ b/autogpt_platform/docker-compose.yml@@ -151,6 +151,11 @@ services:environment:GOTRUE_MAILER_AUTOCONFIRM: true+ # db waits on rabbitmq:service_healthy to gate startup ordering:+ # concurrent container creation in E2B's Docker races RabbitMQ's+ # .erlang.cookie write, producing `eacces` at broker boot. Supabase's+ # auth/meta/studio + migrate all depends_on db:service_healthy+ # upstream, so gating db alone cascades to the rest of the stack.db:<<: *supabase-servicesextends:@@ -158,6 +163,9 @@ services:service: dbports:- 5432:5432 # We don't use Supavisor locally, so we expose the db directly.+ depends_on:+ rabbitmq:+ condition: service_healthy# Studio and its dependencies for local development onlymeta: