Skip to content

Commit fa78e36

Browse files
authored
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
1 parent 8a7d7ef commit fa78e36

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docker_example/docker-compose.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
version: "3.8"
2-
31
services:
42
langflow:
5-
image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/langflow
3+
image: langflowai/langflow:latest # or another version tag on https://hub.docker.com/r/langflowai/langflow
64
pull_policy: always # set to 'always' when using 'latest' image
75
ports:
86
- "7860:7860"
@@ -11,7 +9,7 @@ services:
119
environment:
1210
- LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@postgres:5432/langflow
1311
# This variable defines where the logs, file storage, monitor data and secret keys are stored.
14-
- LANGFLOW_CONFIG_DIR=/app/langflow
12+
- LANGFLOW_CONFIG_DIR=app/langflow
1513
volumes:
1614
- langflow-data:/app/langflow
1715

@@ -21,8 +19,8 @@ services:
2119
POSTGRES_USER: langflow
2220
POSTGRES_PASSWORD: langflow
2321
POSTGRES_DB: langflow
24-
expose:
25-
- 5432
22+
ports:
23+
- "5432:5432"
2624
volumes:
2725
- langflow-postgres:/var/lib/postgresql/data
2826

0 commit comments

Comments
 (0)