Skip to content

Commit

Permalink
update langflow: #821
Browse files Browse the repository at this point in the history
  • Loading branch information
gschmutz committed Apr 16, 2024
1 parent 05a60ba commit f194cd7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions documentation/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@ For each service there might be some other settings, such as controlling the num
| [**_Langflow_**](./services/langflow.md)     ![x86-64](./images/x86-64.png) | | | | | |
| `LANGFLOW_enable` | `false` | 1.18.0 | Generate Langflow service | | |
| `LANGFLOW_volume_map_data` | `false` | 1.18.0 | Volume map the data folder into langflow. | | |
| `LANGFLOW_database_type` | `sqlite` | 1.18.0 | The database to store the Flowise data, either `sqlite` or `postgres`. | | |
| `LANGFLOW_database_username` | `postgres` | 1.18.0 | The username for the PostgreSQL database. | | |
| `LANGFLOW_database_password` | `abc123!` | 1.18.0 | The password for the PostgreSQL database. | | |
| `FLOWISE_database_name` | `postgres` | 1.18.0 | The PostgreSQL database name. | | |
Expand Down
3 changes: 1 addition & 2 deletions documentation/port-mapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Container Port(s) | Internal Port(s) | Service (alternatives) |
7688 | 7687 | neo4j-2 |
7689 | 7687 | neo4j-3 |
7690 | 7687 | memgraph-platform |
7860 | 7860 | langflow-backend |
7860 | 7860 | langflow|
8000 | 8000 | kong (proxy) |
8001 | 8001 | kong (admin api) |
8002 | 8002 | kong (admin gui) |
Expand Down Expand Up @@ -616,7 +616,6 @@ Container Port(s) | Internal Port(s) | Service (alternatives) |
28363 | 9200 | datahub-opensearch |
28364 | 8080 | autogen-studio |
28365 | 3000 | alpaca-webui |
28366 | 7860 | langflow-frontend |


## Ports > 28500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11181,7 +11181,12 @@ services:
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
{% if (LANGFLOW_database_type | lower) == 'sqlite' %}
LANGFLOW_DATABASE_URL: sqlite:///./langflow.db
{% endif -%} {# LANGFLOW_database_type #}
{% if (LANGFLOW_database_type | lower) == 'postgres' %}
LANGFLOW_DATABASE_URL: postgresql://{{LANGFLOW_database_user}}:{{LANGFLOW_database_password}}@postgresql:5432/{{LANGFLOW_database_name}}
{% endif -%} {# LANGFLOW_database_type #}
LANGFLOW_CONFIG_DIR: /var/lib/langflow
{%if use_timezone | default(false) %}
TZ: {{use_timezone}}
Expand Down
2 changes: 2 additions & 0 deletions modern-data-platform-stack/generator-config/vars/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,8 @@
#
LANGFLOW_enable: false
LANGFLOW_volume_map_data: false
# one of sqlite, postgres
LANGFLOW_database_type: postgres
LANGFLOW_database_user: postgres
LANGFLOW_database_password: abc123!
LANGFLOW_database_name: postgres
Expand Down

0 comments on commit f194cd7

Please sign in to comment.