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
This commit is contained in:
parent
8a7d7ef62f
commit
fa78e36bd7
1 changed files with 4 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue