OpenLogs

All tools

Langflow

Visual builder for AI agents and workflows.

Replaces

Paid AI agent builder services, such as Voiceflow.

All open-source alternatives to Voiceflow

Difficulty

Difficulty: Medium

2 services (1 database or broker: postgres), 2 volume mounts, 1 env value to set, no elevated host access. Heuristic score 4 of 11: medium.

Stack

Python (language), PostgreSQL (database)

Deployment

docker_compose

Requirements

Not stated.

License

MIT (OSI-approved open source)

Read from github.com/langflow-ai/langflow/blob/3ec974b/LICENSE

Business model

Unknown

The README at the pinned commit does not state a business model, so it stays unknown.

Source: github.com/langflow-ai/langflow/blob/3ec974b/README.md, read on .

Repository

langflow-ai/langflow

GitHub stats

Stars
155,912
Forks
10,232
Open issues and pull requests
1,191
Last push
2026-10-22
Latest release
v1.12.7
Released
2026-10-21

From the GitHub API on . These numbers are a snapshot, not live. GitHub detected the license as MIT.

Compose file

Config check passed docker compose config exited 0 on this exact file on 2026-10-22.
docker-compose.yml Version 1
services:
  langflow:
    image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/langflow
    pull_policy: always               # set to 'always' when using 'latest' image
    ports:
      - "7860:7860"
    depends_on:
      - postgres
    environment:
      - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
      - LANGFLOW_SUPERUSER_PASSWORD=${LANGFLOW_SUPERUSER_PASSWORD:?set LANGFLOW_SUPERUSER_PASSWORD in .env}
      # This variable defines where the logs, file storage, monitor data and secret keys are stored.
      - LANGFLOW_CONFIG_DIR=/app/langflow
    volumes:
      - langflow-data:/app/langflow

  postgres:
    # Pinned to a specific Debian base (trixie) so the postgres:16 tag does not
    # silently roll its OS underneath us — that roll causes a glibc collation
    # version mismatch warning on existing volumes. Matches the langflow image
    # base. See https://github.com/langflow-ai/langflow/issues/9608
    image: postgres:16-trixie
    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:

From the app's own repository: github.com/langflow-ai/langflow/blob/3ec974b/docker_example/docker-compose.yml.

Compose file from the app repository.

Install

  1. Docker with the Compose plugin (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/README.md)

    A host with Docker and the Docker Compose plugin. This entry runs from a compose file.

  2. Save the compose file as docker-compose.yml (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/docker-compose.yml)

    Use the compose file shown above.

  3. Save as .env next to the compose file (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/README.md#L26-L28)
    LANGFLOW_SUPERUSER_PASSWORD=SUPERUSER_PASSWORD
    
  4. What the compose file check ran with (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/README.md)

    The compose file check ran together with a .env file copied unchanged from the code block in https://github.com/langflow-ai/langflow/blob/3ec974b7ee82d1c1ca630e68547edbde5c64a8a9/docker_example/README.md#L26-L28. The folder held only these files. The Docker example guide tells the reader to create a .env file with the admin password set, then run docker compose up.

  5. Start it (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/README.md)
    docker compose up -d
  6. Open the app (github.com/langflow-ai/langflow/blob/3ec974b/docker_example/docker-compose.yml)

    Open http://localhost:7860. The compose file publishes host port 7860 for the langflow service. The guide says Langflow is reachable at this address after docker compose up.

Compose file check: config_ok on 2026-10-22.

Gotchas and maintenance

Gotchas

Signals

  • Open issues and pull requests: 1191
  • Last push: 2026-10-22 (0 days before this page was built)
  • Latest release: v1.12.7 on 2026-10-21 (1 days before this page was built)