-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
63 lines (47 loc) · 1.52 KB
/
docker-compose.yaml
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
version: "3.9"
services:
data-reader:
image: yahuman/diplom-data-reader:0.1
environment:
- REDIS_CONNECTION_STRING=redis:6379
- MSSQL_CONNECTION_STRING_HANGFIRE=Server=mssql,1433;Encrypt=False;User Id=SA;Password=YourSTRONG!Passw0rd;Database=Master;
- MSSQL_CONNECTION_STRING_APP=Server=mssql,1433;Encrypt=False;Database=App;User Id=SA;Password=YourSTRONG!Passw0rd;
# - LABLE_SERVICE_GRPC_URL=http://host.docker.internal:50052
# - VECTOR_SERVICE_GRPC_URL=http://host.docker.internal:50051
build: ./data-reader
ports:
- 8080:80
depends_on:
# - sentiment
# - embeddings
- redis
- mssql
# sentiment:
# image: yahuman/ai-sentiment-analis:1.1
# build: ./ai-text-sentiment-analysis-grpc-server
# ports:
# - 50052:50052
# embeddings:
# image: yahuman/ai-sentiment-analis:1.1
# build: ./ai-text-sentiment-analysis-grpc-server
# ports:
# - 50051:50051
redis:
image: redis:latest
volumes:
- ./diplom-data:/root/redis
- ./diplom-data:/data
- ./diplom-data/redis.conf:/usr/local/etc/redis/redis.conf
environment:
- REDIS_PORT=6379
- REDIS_DATABASES=1
mssql:
user: root
image: mcr.microsoft.com/mssql/server
volumes:
- ./diplom-data/mssql/data:/var/opt/mssql/data
- ./diplom-data/mssql/log:/var/opt/mssql/log
- ./diplom-data/mssql/secrets:/var/opt/mssql/secrets
environment:
- SA_PASSWORD=YourSTRONG!Passw0rd
- ACCEPT_EULA=Y