Commit Graph

14 Commits

Author SHA1 Message Date
eb5f83f950 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
(cherry picked from commit 7504eb4c72)
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
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
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
5624b7871d fix(Dockerfile): remove unnecessary dependency after install and update cmd to use 'run' subcommand 2023-10-31 16:29:19 +09:00
ff71d10ff5 Update docker-compose.yml to use the correct default langflow port 2023-08-03 12:09:10 -05:00
f4edfde985 fix: docker examples 2023-03-17 09:17:25 -03:00
f798b7db19 feat: adding host param and docker example for deployment 2023-03-15 16:09:34 -03:00