generated from mattbrictson/gem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
115 lines (114 loc) · 2.8 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
---
services:
flowbots_service:
image: b08x/flowbots:latest
build:
context: .
dockerfile: Dockerfile
args:
- USE_TRF=False
- USE_BOOKNLP=False
container_name: flowbots
env_file:
- .env
environment:
PUID: 1000
PGID: 1000
NANO_BOTS_ENCRYPTION_PASSWORD: UNSAFE
NANO_BOTS_END_USER: ${USER}
# ports:
# - "3009:3000"
volumes:
- ./data/workspace:/app/workspace
networks:
- flowbots
depends_on:
- redis_service
redis_service:
image: redis/redis-stack:latest
container_name: flowbots-redis
restart: unless-stopped
environment:
PUID: 1000
PGID: 1000
volumes:
- ./data/redis/data:/data
ports:
- "6378:6379"
- "8081:8081"
- "8001:8001"
networks:
- flowbots
flowise_service:
image: flowiseai/flowise
container_name: flowbots-flowise
restart: unless-stopped
environment:
- PORT=3002
- DATABASE_PATH=/root/.flowise
- APIKEY_PATH=/root/.flowise
- SECRETKEY_PATH=/root/.flowise
- LOG_PATH=/root/.flowise/logs
- DEBUG=True
- LOG_LEVEL=debug
volumes:
- ./data/flowise:/root/.flowise
- ./data/flowise/output:/data/output
ports:
- "3002:3002"
entrypoint: /bin/sh -c "sleep 3; flowise start"
networks:
- flowbots
chroma_service:
image: ghcr.io/chroma-core/chroma:latest
container_name: flowbots-chromadb
restart: unless-stopped
volumes:
- ./data/chroma:/chroma/chroma/
environment:
PUID: 1000
PGID: 1000
IS_PERSISTENT: TRUE
ports:
- "8020:8000"
networks:
- flowbots
postgres_service:
image: ankane/pgvector
container_name: flowbots-pgvector
restart: unless-stopped
environment:
PUID: 1000
PGID: 1000
POSTGRES_HOST_AUTH_METHOD: "trust"
POSTGRES_DB: flowbots
POSTGRES_USER: postgres
ports:
- "5432:5432"
volumes:
- ./data/pgvector/local-data:/data
- ./data/pgvector/pgdata:/var/lib/postgresql/data
networks:
- flowbots
langfuse_service:
image: ghcr.io/langfuse/langfuse:latest
container_name: flowbots-langfuse
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
- DATABASE_URL=postgresql://postgres:postgres@postgres_service:5432/flowbots
- NEXTAUTH_SECRET=mysecret
- SALT=mysalt
- NEXTAUTH_URL=http://localhost:3000
- TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
- NEXT_PUBLIC_SIGN_UP_DISABLED=${NEXT_PUBLIC_SIGN_UP_DISABLED:-false}
- LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
depends_on:
- postgres_service
networks:
- flowbots
networks:
flowbots:
driver: bridge