diff --git a/docker_example/docker-compose.yml b/docker_example/docker-compose.yml index 91e454047ba4..10c8bdfdc584 100644 --- a/docker_example/docker-compose.yml +++ b/docker_example/docker-compose.yml @@ -1,8 +1,6 @@ -version: "3.8" - services: langflow: - image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/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" @@ -11,7 +9,7 @@ services: environment: - LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow # This variable defines where the logs, file storage, monitor data and secret keys are stored. - - LANGFLOW_CONFIG_DIR=/app/langflow + - LANGFLOW_CONFIG_DIR=app/langflow volumes: - langflow-data:/app/langflow @@ -21,8 +19,8 @@ services: POSTGRES_USER: langflow POSTGRES_PASSWORD: langflow POSTGRES_DB: langflow - expose: - - 5432 + ports: + - "5432:5432" volumes: - langflow-postgres:/var/lib/postgresql/data