Update Dockerfile, docker-compose.yml, and add langflow 1.0-alpha tag (#1620)
* Update Dockerfile to use logspace/langflow:latest image * Update docker-compose.yml with new version and add PostgreSQL service * Add langflow 1.0-alpha tag
This commit is contained in:
parent
03503cbbb3
commit
9b09156aa6
3 changed files with 27 additions and 18 deletions
|
|
@ -1,10 +1,30 @@
|
|||
version: '3'
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
langflow:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: logspace/langflow:latest
|
||||
ports:
|
||||
- "7860:7860"
|
||||
command: langflow run --host 0.0.0.0
|
||||
depends_on:
|
||||
- postgres
|
||||
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=/var/lib/langflow
|
||||
volumes:
|
||||
- langflow-data:/var/lib/langflow
|
||||
|
||||
postgres:
|
||||
image: postgres:16
|
||||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue