mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 18:57:09 +08:00
* fix: remove hardcoded default superuser password * fix: harden legacy superuser credential handling * fix: update superuser CI paths * [autofix.ci] apply automated fixes * fix: have images default auto_login to false have images default auto_login to false * fix: reject legacy superuser password * fix: align docker auth setup docs * docs: fix custom docker auth examples * docs: include auth env in docker upgrade examples --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Adam Aghili <Adam.Aghili@ibm.com>
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
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:
|