-
Notifications
You must be signed in to change notification settings - Fork 65
/
docker-compose.yml
100 lines (92 loc) · 1.87 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
version: "3.9"
services:
mongodb:
image: mongo
volumes:
- mongodb:/data/db
# ports:
# - "27017:27017"
minio:
image: minio/minio
environment:
- MINIO_ROOT_USER=user
- MINIO_ROOT_PASSWORD=password
# ports:
# - "9000:9000"
# - "9001:9001"
command: server --console-address ":9001" /data
volumes:
- minio:/data
redis:
image: redis
volumes:
- redis:/data
# ports:
# - "6379:6379"
weaviate:
image: cr.weaviate.io/semitechnologies/weaviate:1.21.2
# ports:
# - "8080:8080"
volumes:
- weaviate:/var/lib/weaviate
environment:
- PORT=8080
- QUERY_DEFAULTS_LIMIT=25
- PERSISTENCE_DATA_PATH=/var/lib/weaviate
- DEFAULT_VECTORIZER_MODULE=text2vec-openai
- ENABLE_MODULES=text2vec-openai
- AUTHENTICATION_APIKEY_ENABLED=true
- AUTHENTICATION_APIKEY_ALLOWED_KEYS=password
- AUTHENTICATION_APIKEY_USERS=vrite
api:
image: ghcr.io/vriteio/vrite/api:latest
env_file: ./docker.env
depends_on:
- mongodb
- redis
environment:
- PORT=4444
ports:
- "4444:4444"
assets:
image: ghcr.io/vriteio/vrite/assets:latest
env_file: ./docker.env
depends_on:
- mongodb
- minio
- redis
- api
environment:
- PORT=8888
ports:
- "8888:8888"
collab:
image: ghcr.io/vriteio/vrite/collaboration:latest
env_file: ./docker.env
depends_on:
- mongodb
- redis
- assets
environment:
- PORT=5555
ports:
- "5555:5555"
app:
image: ghcr.io/vriteio/vrite/app:latest
env_file: ./docker.env
environment:
- PORT=3333
ports:
- "3333:3333"
depends_on:
- api
- assets
- collab
- mongodb
- minio
- redis
volumes:
mongodb: ~
redis: ~
minio: ~
weaviate: ~