From 54776687f112d5741d0b1938479fc8d42eae2f3f Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Sep 2023 15:38:45 -0300 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=94=A7=20chore(render.yaml):=20add=20?= =?UTF-8?q?disk=20configuration=20for=20langflow-data=20to=20provide=20per?= =?UTF-8?q?sistent=20storage=20for=20langflow=20cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- render.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/render.yaml b/render.yaml index e67da9334..69f9cbce9 100644 --- a/render.yaml +++ b/render.yaml @@ -9,3 +9,6 @@ services: branch: main healthCheckPath: /health autoDeploy: false + disk: + name: langflow-data + mountPath: /home/user/.cache/langflow From 2a947e33a75759aae043a9f6b502d1f2f67ffd5a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Sep 2023 15:39:46 -0300 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=94=A7=20chore(render.yaml):=20remove?= =?UTF-8?q?=20unnecessary=20'plan'=20field=20from=20langflow=20service=20c?= =?UTF-8?q?onfiguration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 📝 docs(render.yaml): update langflow service configuration to remove 'plan' field for better clarity and consistency --- render.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/render.yaml b/render.yaml index 69f9cbce9..3e02fcd4d 100644 --- a/render.yaml +++ b/render.yaml @@ -3,7 +3,6 @@ services: - type: web name: langflow runtime: docker - plan: free dockerfilePath: ./Dockerfile repo: https://github.com/logspace-ai/langflow branch: main From 502b520782ff8764372e01e8c9718c9dbdb39ff3 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Sep 2023 17:18:22 -0300 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=94=A7=20chore(render.yaml):=20add=20?= =?UTF-8?q?LANGFLOW=5FDATABASE=5FURL=20environment=20variable=20with=20sql?= =?UTF-8?q?ite=20database=20path=20to=20improve=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LANGFLOW_DATABASE_URL environment variable is added with the value `sqlite:////home/user/.cache/langflow/langflow.db` to specify the path to the SQLite database file for the Langflow service. This improves the configuration by providing a specific location for the database file. --- render.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/render.yaml b/render.yaml index 3e02fcd4d..bd364a72b 100644 --- a/render.yaml +++ b/render.yaml @@ -8,6 +8,9 @@ services: branch: main healthCheckPath: /health autoDeploy: false + envVars: + - key: LANGFLOW_DATABASE_URL + - value: sqlite:////home/user/.cache/langflow/langflow.db disk: name: langflow-data mountPath: /home/user/.cache/langflow From 40969d905a641b1dadcb8a5f8114495a0081ddd5 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Sep 2023 17:19:13 -0300 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=90=9B=20fix(render.yaml):=20fix=20in?= =?UTF-8?q?dentation=20of=20value=20for=20LANGFLOW=5FDATABASE=5FURL=20envi?= =?UTF-8?q?ronment=20variable=20to=20match=20the=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- render.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/render.yaml b/render.yaml index bd364a72b..4c17923c6 100644 --- a/render.yaml +++ b/render.yaml @@ -10,7 +10,7 @@ services: autoDeploy: false envVars: - key: LANGFLOW_DATABASE_URL - - value: sqlite:////home/user/.cache/langflow/langflow.db + value: sqlite:////home/user/.cache/langflow/langflow.db disk: name: langflow-data mountPath: /home/user/.cache/langflow From ff18b32aebbfd69b37e74367c97d29988aa54301 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Sep 2023 20:01:51 -0300 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=94=80=20chore(README.md):=20update?= =?UTF-8?q?=20Railway=20deployment=20button=20link=20to=20use=20a=20differ?= =?UTF-8?q?ent=20template?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d795015d..08186331c 100644 --- a/README.md +++ b/README.md @@ -245,7 +245,7 @@ print(run_flow("Your message", flow_id=FLOW_ID, tweaks=TWEAKS)) ## Deploy on Railway -[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/Emy2sU?referralCode=MnPSdg) +[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/JMXEWp?referralCode=MnPSdg) ## Deploy on Render