From f7ab48374836a4510f90d2aa4e7f10cf53e3bf88 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 23 Sep 2023 23:27:53 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(.env.example):=20update=20?= =?UTF-8?q?RabbitMQ=20configuration=20and=20add=20OpenAI=20API=20key=20and?= =?UTF-8?q?=20superuser=20credentials?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update RabbitMQ configuration by setting the default username and password to "langflow" - Add OpenAI API key for integration with OpenAI services - Add superuser credentials for the Langflow application --- deploy/.env.example | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/deploy/.env.example b/deploy/.env.example index ab24e0114..1dc7904e9 100644 --- a/deploy/.env.example +++ b/deploy/.env.example @@ -6,6 +6,10 @@ TRAEFIK_PUBLIC_NETWORK=traefik-public TRAEFIK_TAG=langflow-traefik TRAEFIK_PUBLIC_TAG=traefik-public +# RabbitMQ configuration +RABBITMQ_DEFAULT_USER=langflow +RABBITMQ_DEFAULT_PASS=langflow + # Database configuration DB_USER=langflow DB_PASSWORD=langflow @@ -24,14 +28,14 @@ POSTGRES_PORT=5432 # Flower configuration LANGFLOW_CACHE_TYPE=redis -LANGFLOW_REDIS_HOST=queue +LANGFLOW_REDIS_HOST=result_backend LANGFLOW_REDIS_PORT=6379 LANGFLOW_REDIS_DB=0 LANGFLOW_REDIS_EXPIRE=3600 LANGFLOW_REDIS_PASSWORD= FLOWER_UNAUTHENTICATED_API=True -BROKER_URL=redis://queue:6379/0 -RESULT_BACKEND=redis://queue:6379/0 +BROKER_URL=amqp://langflow:langflow@broker:5672 +RESULT_BACKEND=redis://result_backend:6379/0 C_FORCE_ROOT="true" # Frontend configuration @@ -41,3 +45,8 @@ BACKEND_URL=http://backend:7860 # PGAdmin configuration PGADMIN_DEFAULT_EMAIL=admin@admin.com PGADMIN_DEFAULT_PASSWORD=admin + +OPENAI_API_KEY=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 + +LANGFLOW_SUPERUSER=superuser +LANGFLOW_SUPERUSER_PASSWORD=superuser \ No newline at end of file