Accessing files/artifacts via path #6264
Replies: 1 comment 1 reply
-
Hey @tushar-kloud! 👋 I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together! Langflow stores flow artifacts and database files in the following default locations:
You can access these directories to copy the files for duplicating the LangFlow service using Docker. Additionally, you can customize the storage location by setting the version: "3.8"
services:
langflow:
image: langflowai/langflow:latest
ports:
- "7860:7860"
depends_on:
- postgres
environment:
- LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
- LANGFLOW_CONFIG_DIR=/var/lib/langflow
volumes:
- langflow-data:/var/lib/langflow
postgres:
image: postgres:16
environment:
POSTGRES_USER: langflow
POSTGRES_PASSWORD: langflow
POSTGRES_DB: langflow
ports:
- "5432:5432"
volumes:
- langflow-postgres:/var/lib/postgresql/data
volumes:
langflow-postgres:
langflow-data: This configuration will store the logs, file storage, monitor data, and secret keys in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Beta Was this translation helpful? Give feedback.
-
I am searching for the location where the flow artifacts and database files are created and stored in memory, specifically through the path (directory location). My goal is to make a copy of the necessary artifacts so that I can reuse them when creating a duplicate of the service. I will be using Docker to set up the LangFlow service.
Beta Was this translation helpful? Give feedback.
All reactions