-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
91 lines (90 loc) · 2.05 KB
/
docker-compose.dev.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
version: "3.8"
services:
api:
build:
context: .
cache_from:
- llmstack-api:latest
command: apiserver
volumes:
- .:/code
links:
- postgres:postgres
ports:
- 9000:9000
expose:
- 9000
env_file:
- .env.dev
cap_add:
- SYS_PTRACE
rqworker:
build:
context: .
cache_from:
- llmstack-rqworker:latest
command: rqworker
volumes:
- .:/code
depends_on:
- redis
- postgres
links:
- redis:redis
- postgres:postgres
env_file:
- .env.dev
playwright:
image: llmstack-playwright:latest
build:
context: playwright
dockerfile: Dockerfile
cache_from:
- llmstack-playwright:latest
command: npx --yes playwright launch-server --browser chromium --config /config.json
expose:
- 30000
ipc: host
user: pwuser
security_opt:
- seccomp:playwright/seccomp_profile.json
redis:
image: redis:alpine
ports:
- "26379:6379"
command: redis-server
restart: unless-stopped
volumes:
- ${REDIS_VOLUME}:/data
env_file:
- .env.dev
postgres:
image: postgres:15.1-alpine
ports:
- "25432:5432"
command: "postgres -c fsync=off -c full_page_writes=off -c synchronous_commit=OFF"
restart: unless-stopped
volumes:
- ${POSTGRES_VOLUME}:/var/lib/
environment:
POSTGRES_HOST_AUTH_METHOD: "trust"
POSTGRES_USER: ${DATABASE_USERNAME:-postgres}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:-}
PGDATA: /var/lib/postgresql/data/pgdata
env_file:
- .env.dev
weaviate:
image: semitechnologies/weaviate:1.20.5
ports:
- 28080:8080
volumes:
- ${WEAVIATE_VOLUME}:/var/lib/weaviate
environment:
QUERY_DEFAULTS_LIMIT: 20
AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED: "true"
PERSISTENCE_DATA_PATH: "/var/lib/weaviate"
DEFAULT_VECTORIZER_MODULE: text2vec-openai
ENABLE_MODULES: text2vec-openai
CLUSTER_HOSTNAME: "weaviate-node"
env_file:
- .env.dev