-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
37 lines (34 loc) · 945 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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:
- langflow_postgres
environment:
- LANGFLOW_DATABASE_URL=postgresql://langflow:langflow@langflow_postgres:5432/langflow
# This variable defines where the logs, file storage, monitor data and secret keys are stored.
volumes:
- langflow-data:/app/langflow
networks:
- proxy
langflow_postgres:
image: postgres:16
environment:
POSTGRES_USER: langflow
POSTGRES_PASSWORD: langflow
POSTGRES_DB: langflow
ports:
- '7861:5432'
volumes:
- langflow-postgres:/var/lib/postgresql/data
networks:
- proxy
volumes:
langflow-postgres:
langflow-data:
networks:
proxy:
driver: bridge
external: true