From 151fad5cedfe912c11780b8834ab2c35e3cb7fe6 Mon Sep 17 00:00:00 2001 From: Swifty Date: Thu, 31 Oct 2024 13:38:54 +0000 Subject: [PATCH 1/5] docs(platform): Update frontend instructions (#8514) update readme --- autogpt_platform/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autogpt_platform/README.md b/autogpt_platform/README.md index 02cbe68149..79a9cf9a7d 100644 --- a/autogpt_platform/README.md +++ b/autogpt_platform/README.md @@ -28,9 +28,9 @@ To run the AutoGPT Platform, follow these steps: 3. Run the following command: ``` - cp supabase/docker/.env.example .env + cp supabase/docker/.env.example .env.local ``` - This command will copy the `.env.example` file to `.env` in the `supabase/docker` directory. You can modify the `.env` file to add your own environment variables. + This command will copy the `.env.example` file to `.env.local` in the `supabase/docker` directory. You can modify the `.env.local` file to add your own environment variables. 4. Run the following command: ``` From 952f6f58efd68c9af511a4841b721e084b93d2f9 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Fri, 1 Nov 2024 09:13:25 +0000 Subject: [PATCH 2/5] docs(platform): correct readme --- autogpt_platform/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autogpt_platform/README.md b/autogpt_platform/README.md index 79a9cf9a7d..64e61e880c 100644 --- a/autogpt_platform/README.md +++ b/autogpt_platform/README.md @@ -28,9 +28,9 @@ To run the AutoGPT Platform, follow these steps: 3. Run the following command: ``` - cp supabase/docker/.env.example .env.local + cp supabase/docker/.env.example .env ``` - This command will copy the `.env.example` file to `.env.local` in the `supabase/docker` directory. You can modify the `.env.local` file to add your own environment variables. + This command will copy the `.env.example` file to `.env` in the `supabase/docker` directory. You can modify the `.env` file to add your own environment variables. 4. Run the following command: ``` @@ -46,9 +46,9 @@ To run the AutoGPT Platform, follow these steps: 6. Run the following command: ``` - cp .env.example .env + cp .env.example .env.local ``` - This command will copy the `.env.example` file to `.env` in the `frontend` directory. You can modify the `.env` within this folder to add your own environment variables for the frontend application. + This command will copy the `.env.example` file to `.env.local` in the `frontend` directory. You can modify the `.env.local` within this folder to add your own environment variables for the frontend application. 7. Run the following command: ``` From db44d8c2ec13713cf46212df589e41b05a4207e0 Mon Sep 17 00:00:00 2001 From: SwiftyOS Date: Mon, 4 Nov 2024 11:25:44 +0100 Subject: [PATCH 3/5] fix(platform): Add ENCRYPTION_KEY Env Var to docker compose file --- autogpt_platform/docker-compose.platform.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autogpt_platform/docker-compose.platform.yml b/autogpt_platform/docker-compose.platform.yml index e2a24fa51f..537a0f55eb 100644 --- a/autogpt_platform/docker-compose.platform.yml +++ b/autogpt_platform/docker-compose.platform.yml @@ -69,6 +69,7 @@ services: - DATABASEMANAGER_HOST=executor - FRONTEND_BASE_URL=http://localhost:3000 - BACKEND_CORS_ALLOW_ORIGINS=["http://localhost:3000"] + - ENCRYPTION_KEY=some-long-random-string-encryption-key ports: - "8006:8006" - "8003:8003" # execution scheduler @@ -104,7 +105,8 @@ services: - ENABLE_AUTH=true - PYRO_HOST=0.0.0.0 - AGENTSERVER_HOST=rest_server - - DATABASEMANAGER_HOST=0.0.0.0 + - DATABASEMANAGER_HOST=0.0.0.0 + - ENCRYPTION_KEY=some-long-random-string-encryption-key ports: - "8002:8000" networks: From 44f73078f733013af82f0fd7fe96a57408046659 Mon Sep 17 00:00:00 2001 From: Aarushi <50577581+aarushik93@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:09:47 -0800 Subject: [PATCH 4/5] Update docker-compose.platform.yml (#8560) --- autogpt_platform/docker-compose.platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt_platform/docker-compose.platform.yml b/autogpt_platform/docker-compose.platform.yml index 537a0f55eb..52f8311659 100644 --- a/autogpt_platform/docker-compose.platform.yml +++ b/autogpt_platform/docker-compose.platform.yml @@ -106,7 +106,7 @@ services: - PYRO_HOST=0.0.0.0 - AGENTSERVER_HOST=rest_server - DATABASEMANAGER_HOST=0.0.0.0 - - ENCRYPTION_KEY=some-long-random-string-encryption-key + - ENCRYPTION_KEY=dvziYgz0KSK8FENhju0ZYi8-fRTfAdlz6YLhdB_jhNw= # DO NOT USE IN PRODUCTION!! ports: - "8002:8000" networks: From 9a2664be3536552ed8f9119bf1c78d5ca75c5cc9 Mon Sep 17 00:00:00 2001 From: Aarushi <50577581+aarushik93@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:44:36 -0800 Subject: [PATCH 5/5] fix(platform): Add local enc key (#8568) add local enc key --- autogpt_platform/docker-compose.platform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt_platform/docker-compose.platform.yml b/autogpt_platform/docker-compose.platform.yml index 52f8311659..2a5967116b 100644 --- a/autogpt_platform/docker-compose.platform.yml +++ b/autogpt_platform/docker-compose.platform.yml @@ -69,7 +69,7 @@ services: - DATABASEMANAGER_HOST=executor - FRONTEND_BASE_URL=http://localhost:3000 - BACKEND_CORS_ALLOW_ORIGINS=["http://localhost:3000"] - - ENCRYPTION_KEY=some-long-random-string-encryption-key + - ENCRYPTION_KEY=dvziYgz0KSK8FENhju0ZYi8-fRTfAdlz6YLhdB_jhNw= # DO NOT USE IN PRODUCTION!! ports: - "8006:8006" - "8003:8003" # execution scheduler