Commit Graph

23 Commits

Author SHA1 Message Date
7504eb4c72 fix: pin postgres image to bookworm in docker_example (#13027)
* fix: pin postgres image to bookworm in docker_example to prevent collation mismatch

The postgres:16 tag silently moved its base from Debian Bookworm
(glibc 2.36) to Trixie (glibc 2.41), causing a recurring collation
version mismatch warning on existing langflow-postgres volumes.

Pin to postgres:16-bookworm in both docker-compose files and update
the README so existing data volumes keep matching the OS locale data.

Refs: https://github.com/langflow-ai/langflow/issues/9608

* docs: pin postgres image to bookworm in current docs compose snippets

Mirror the docker_example pin in the four current docs that publish
copyable Compose snippets pairing postgres:16 with a persistent
langflow-postgres volume. Prevents the same Bookworm-to-Trixie
collation version mismatch warning when users follow docs instead
of docker_example.

Versioned historical docs are left as-is.

Refs: https://github.com/langflow-ai/langflow/issues/9608

* fix: switch postgres pin from bookworm to trixie for OS consistency

Aligns the pinned postgres base with the langflow runtime image, which
moved to Debian Trixie in #12990. Keeping postgres on bookworm would
have diverged the stack and locked the database to an aging glibc that
will receive fewer security backports as bookworm ages into oldstable.

The pin itself still solves the original bug — postgres:16 cannot
silently roll its OS underneath an existing volume.

Document the one-time REFRESH COLLATION VERSION step for users
upgrading from a bookworm-initialized volume in docker_example/README.md.

Refs: https://github.com/langflow-ai/langflow/issues/9608
2026-05-07 19:39:49 +00:00
3d82ca3634 fix: resolve LANGFLOW_CONFIG_DIR to absolute and update docker compose to use absolute path (#10106)
* fix: Resolve relative paths to absolute in Settings class

Added functionality to resolve relative paths to absolute paths in the Settings class to ensure correct handling of directory creation. This change improves robustness when dealing with user-defined paths.

* fix: Update LANGFLOW_CONFIG_DIR path in docker-compose.yml

Changed the LANGFLOW_CONFIG_DIR environment variable from a relative path to an absolute path to ensure correct directory resolution in the Docker setup. This improves the reliability of the configuration in various deployment environments.
2025-10-03 17:44:52 +00:00
fa78e36bd7 fix: adjust LANGFLOW_CONFIG_DIR to prevent permission error (#6095)
* fix: adjust LANGFLOW_CONFIG_DIR to prevent permission error

* chore: remove version from docker-compose.yml

* style: remove trailing whitespace

* refactor: replace expose with ports
2025-02-05 20:54:36 +00:00
50ae0742a0 fix: re-add removed variable + fix documentation (#5902)
re-add removed variable + fix documentation

Co-authored-by: Ítalo Johnny <italojohnnydosanjos@gmail.com>
2025-01-29 02:54:03 +00:00
294de475c1 chore: Use expose instead of ports in docker compose example (#5592)
This makes the postgres instance only reachable from the langflow container and allows it to spin up even if another process (e.g. another postgres instance) is running on the host and binds to the same port.
2025-01-08 16:43:14 +00:00
255c604730 feat: add pull_policy to Docker compose example (#3693)
add pull_policy to Docker compose example
2024-09-06 10:41:47 -07:00
29e662848c chore: simplify docker (#2526)
* chore: add docker command shortcuts to makefile

* chore: replaced entreypoint with cmd

* chore: remove enviroment variable
2024-07-04 11:14:52 -03:00
7d8fefa562 Update dockerfiles and docker-build.yml (#2389)
* chore: Update docker-build.yml to disable pre-release by default

* chore: Update Dockerfiles to set LANGFLOW_HOST and LANGFLOW_PORT

The Dockerfiles have been updated to set the environment variables LANGFLOW_HOST and LANGFLOW_PORT. This ensures that the correct host and port are used when running the langflow application.

* 🔧 (build_and_push_backend.Dockerfile): remove unnecessary host and port configuration to simplify the Dockerfile and focus on backend-only functionality

* chore: Update LANGFLOW_CONFIG_DIR in docker-compose.yml

The LANGFLOW_CONFIG_DIR environment variable in docker-compose.yml has been updated to /app/langflow. This change ensures that the correct directory is used for storing logs, file storage, monitor data, and secret keys.
2024-07-01 13:53:39 -03:00
a112d72fc1 chore: Update docker volume mount path for langflow-data in pre.docker-compose.yml 2024-05-28 20:46:46 -03:00
9d5d40f6a6 Fix ownership issue with /app directory in Dockerfile (#1979)
chore: Update Dockerfile to fix ownership issue with /app directory
2024-05-27 06:53:19 -07:00
c6b4101d69 Update Docker image references to langflowai in GitHub workflows and Docker Compose files (#1793)
* Update Docker image references to langflowai in GitHub workflows and Docker Compose files
2024-04-29 13:38:18 -03:00
9c188db486 Update Docker example README with improved instructions 2024-04-12 09:05:01 -03:00
e38ab095d9 Add Dockerfile and docker-compose.yml for pre-production environment setup 2024-04-11 13:04:03 -03:00
9b09156aa6 Update Dockerfile, docker-compose.yml, and add langflow 1.0-alpha tag (#1620)
* Update Dockerfile to use logspace/langflow:latest image

* Update docker-compose.yml with new version and add PostgreSQL service

* Add langflow 1.0-alpha tag
2024-04-05 14:39:51 -03:00
36965ce574 📦 chore(Dockerfile): update langflow package version to 0.5.0 for both Dockerfiles
The langflow package version was updated from 0.0.86 to 0.5.0 in order to use the latest features and improvements.
2023-11-06 14:23:30 -03:00
5624b7871d fix(Dockerfile): remove unnecessary dependency after install and update cmd to use 'run' subcommand 2023-10-31 16:29:19 +09:00
261e3119c3 Added readme for docker example 2023-08-24 12:28:42 -04:00
ff71d10ff5 Update docker-compose.yml to use the correct default langflow port 2023-08-03 12:09:10 -05:00
a4158b0cb5 build(Dockerfile): update base image to python:3.10-slim
feat(Dockerfile): add gcc, g++, git, and make to apt-get install
feat(Dockerfile): add user and set environment variables
feat(Dockerfile): add WORKDIR and COPY
feat(Dockerfile): update langflow to version 0.0.71
feat(Dockerfile): add --port flag to CMD
2023-05-16 11:46:55 -03:00
19af1e1996 fix: change default port
Port change to make it easier to deploy to spaces
2023-03-17 16:47:27 -03:00
f4edfde985 fix: docker examples 2023-03-17 09:17:25 -03:00
386e74a97c feat: added dockerfile example
#21
2023-03-15 18:06:08 -03:00
f798b7db19 feat: adding host param and docker example for deployment 2023-03-15 16:09:34 -03:00