-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
192 lines (181 loc) · 5.33 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
services:
postgres:
profiles: ["setup"]
image: postgres:14.1-alpine
container_name: assistente-postgres
hostname: assistente-postgres
restart: unless-stopped
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
# - POSTGRES_HOST_AUTH_METHOD=trust
ports:
- 1000:5432
volumes:
- assistente-postgres:/var/lib/postgresql/data
pgadmin:
profiles: ["setup"]
image: dpage/pgadmin4
container_name: assistente-pgadmin
hostname: assistente-pgadmin
restart: unless-stopped
ports:
- 1001:80
environment:
- PGADMIN_DEFAULT_EMAIL=admin@assistente.dev
- PGADMIN_DEFAULT_PASSWORD=admin
volumes:
- assistente-pg-admin:/var/lib/pgadmin
qdrant:
profiles: ["setup"]
image: qdrant/qdrant
container_name: assistente-qdrant
hostname: qdrant
restart: unless-stopped
ports:
- 1002:6333
- 1003:6334
volumes:
- assistente-qdrant:/qdrant/storage
rabbitmq:
profiles: ["setup"]
image: rabbitmq:3.8.0-management
container_name: assistente-rabbitmq
hostname: assistente-rabbitmq
restart: unless-stopped
ports:
- 1004:5672
- 1005:15672
- 1013:15692
environment:
- RABBITMQ_DEFAULT_USER=guest
- RABBITMQ_DEFAULT_PASS=guest
- RABBITMQ_DEFAULT_VHOST=/
volumes:
- assistente-rabbitmq:/var/lib/rabbitmq
- ./CONF/RabbitMq/enabled_plugins:/etc/rabbitmq/enabled_plugins
jaeger:
profiles: ["setup"]
image: jaegertracing/all-in-one:latest
container_name: assistente-jaeger
hostname: assistente-jaeger
restart: unless-stopped
ports:
- 1011:4317
- 1012:16686
- 1014:14269
environment:
- JAEGER_DISABLED=true
seq:
profiles: ["setup"]
image: datalust/seq:latest
container_name: assistente-seq
hostname: assistente-seq
restart: unless-stopped
ports:
- 1006:80
- 1007:5341
environment:
- ACCEPT_EULA=Y
volumes:
- assistente-seq:/data
ui:
profiles: ["app"]
image: armatysme/assistente-ui:latest
container_name: ui
hostname: assistente-ui
restart: unless-stopped
depends_on:
- api
ports:
- 1008:8080
volumes:
- ./CONF/blazor.json:/var/www/web/appsettings.json
db-upgrade:
profiles: ["database"]
image: armatysme/assistente-db-upgrade:latest
container_name: db-upgrade
environment:
- Database__ConnectionString=${Database_ConnectionString}
api:
profiles: ["app"]
image: armatysme/assistente-api:latest
container_name: api
hostname: assistente-api
restart: unless-stopped
depends_on:
- worker-sync
ports:
- 1009:8080
environment:
- Database__ConnectionString=${Database_ConnectionString}
- Llm__ApiKey=${OpenAi_ApiKey}
- Llm__OrganizationId=${OpenAi_OrganizationId}
- Llm__ProjectId=${OpenAi_ProjectId}
- Seq__Url=${Seq_Url}
- Seq__ApiKey=${Seq_ApiKey}
- Qdrant__Host=${Qdrant_Host}
- Qdrant__ClientPort=${Qdrant_ClientPort}
- Qdrant__ApiPort=${Qdrant_ApiPort}
- Embeddings__ApiKey=${OpenAi_ApiKey}
- Embeddings__OrganizationId=${OpenAi_OrganizationId}
- Embeddings__ProjectId=${OpenAi_ProjectId}
- Rabbit__Name=${Rabbit_Name}
- Rabbit__Url=${Rabbit_Url}
- InternalApi__Url=${InternalApi_Url}
- Observability__Url=${Observability_Url}
worker-sync:
profiles: ["app"]
image: armatysme/assistente-worker-sync:latest
container_name: worker-sync
hostname: assistente-worker-sync
restart: unless-stopped
ports:
- 1010:8080
environment:
- Database__ConnectionString=${Database_ConnectionString}
- Llm__ApiKey=${OpenAi_ApiKey}
- Llm__OrganizationId=${OpenAi_OrganizationId}
- Llm__ProjectId=${OpenAi_ProjectId}
- Seq__Url=${Seq_Url}
- Seq__ApiKey=${Seq_ApiKey}
- Qdrant__Host=${Qdrant_Host}
- Qdrant__ClientPort=${Qdrant_ClientPort}
- Qdrant__ApiPort=${Qdrant_ApiPort}
- Embeddings__ApiKey=${OpenAi_ApiKey}
- Embeddings__OrganizationId=${OpenAi_OrganizationId}
- Embeddings__ProjectId=${OpenAi_ProjectId}
- Rabbit__Name=${Rabbit_Name}
- Rabbit__Url=${Rabbit_Url}
- InternalApi__Url=${InternalApi_Url}
- Observability__Url=${Observability_Url}
playground:
profiles: ["playground"]
image: armatysme/assistente-playground:latest
container_name: playground
entrypoint: ["dotnet", "ASSISTENTE.Playground.dll", "-l"]
environment:
- Database__ConnectionString=${Database_ConnectionString}
- Llm__ApiKey=${OpenAi_ApiKey}
- Llm__OrganizationId=${OpenAi_OrganizationId}
- Llm__ProjectId=${OpenAi_ProjectId}
- Qdrant__Host=${Qdrant_Host}
- Qdrant__ClientPort=${Qdrant_ClientPort}
- Qdrant__ApiPort=${Qdrant_ApiPort}
- Embeddings__ApiKey=${OpenAi_ApiKey}
- Embeddings__OrganizationId=${OpenAi_OrganizationId}
- Embeddings__ProjectId=${OpenAi_ProjectId}
volumes:
- ./${KnowledgePaths_MarkdownNotes}:/app/Resources/Notes
- ./${KnowledgePaths_Repositories}:/app/Resources/Repositories
volumes:
assistente-postgres:
driver: local
assistente-pg-admin:
driver: local
assistente-qdrant:
driver: local
assistente-rabbitmq:
driver: local
assistente-seq:
driver: local