-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
113 lines (111 loc) · 3.75 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
#Docker-Compose File for MainProject
#Для поднятия ImageGenerationService докер не нужен, необходимо поставить необходимые библиотеки на вм с гпу и запустить питон
#python -m pip install grpcio torch protobuf
#python -m pip install --upgrade diffusers[torch]
#python -m pip install -q diffusers transformers accelerate opencv-python
#python -m pip install -U peft transformers
#python -m pip install -U peft grpc
#python -m pip install -U peft pillow
#Для подключения логирования, необходимо в appsettings изменить настройки логирования в appsettings.json OpenSearchConfiguration
#Текст промта для генерации должен быть на английском языке
services:
image-agregation-service:
build: ImageAgregationService
ports:
- 5072:5072
environment:
- REDIS_CONNECTION_STRING=
- REDIS_INSTANCE_NAME=image-agregation
- KAFKA_BROKERS=
- KAFKA_GROUP_ID=image-agregation
- KAFKA_CLIENT_ID=image-agregation
- S3_URL=
- DB_HOSTNAME=
- DB_PORT=5432
- DB_USERNAME=postgres
- DB_PASSWORD=QWERTYUIO2313
- DB_NAME=imageagregationdb
- IMAGERESP_TOPIC=imageResponseTopic
- IMAGEREQ_TOPIC=imageRequestTopic
- IMAGEPROCESSOR_URL=
- IMAGEGENERATOR_URL=
restart: unless-stopped
api-gateway-service:
build: ApiGatewayService
ports:
- 5220:5220
environment:
- KAFKA_BROKERS=
- KAFKA_CLIENT_ID=api-gateway
- KAFKA_GROUP_ID=api-gateway
- AUTH_JWT_SECRET=ZpziDEMrdWrB33usktoV1vTLPLDd59NNtKeU6/r90wYlnF3JtTECcxN33dLamFaYQG8=
- AUTHRESP_TOPIC=authResponsesTopic
- AUTHREQ_TOPIC=authRequestsTopic
- IMAGERESP_TOPIC=imageResponseTopic
- IMAGEREQ_TOPIC=imageRequestTopic
- DIALOGRESP_TOPIC=dialogsResponsesTopic
- DIALOGREQ_TOPIC=dialogsRequestsTopic
- ACCOUNTRESP_TOPIC=accountResponsesTopic
- ACCOUNTREQ_TOPIC=accountRequestsTopic
- ASPNETCORE_ENVIRONMENT=Development
restart: unless-stopped
auth-service:
build: AuthService
environment:
- DB_HOSTNAME=
- DB_PORT=5432
- DB_USERNAME=postgres
- DB_PASSWORD=QWERTYUIO2313
- DB_NAME=authdb
- KAFKA_BROKERS=
- KAFKA_GROUP_ID=auth-service
- KAFKA_CLIENT_ID=auth-service
- ACCOUNTRESP_TOPIC=accountResponsesTopic
- ACCOUNTREQ_TOPIC=accountRequestsTopic
- AUTHRESP_TOPIC=authResponsesTopic
- AUTHREQ_TOPIC=authRequestsTopic
- AUTH_JWT_SECRET=ZpziDEMrdWrB33usktoV1vTLPLDd59NNtKeU6/r90wYlnF3JtTECcxN33dLamFaYQG8=
ports:
- 5095:5095
restart: unless-stopped
dialog-service:
build: DialogService
environment:
- DB_HOSTNAME=
- DB_PORT=
- DB_USERNAME=postgres
- DB_PASSWORD=QWERTYUIO2313
- DB_NAME=dialogdb
- KAFKA_BROKERS=
- KAFKA_GROUP_ID=dialog-service
- KAFKA_CLIENT_ID=dialog-service
- DIALOGRESP_TOPIC=dialogsResponsesTopic
- DIALOGREQ_TOPIC=dialogsRequestsTopic
ports:
- 5099:5099
restart: unless-stopped
image-proccessor:
build: ImageProccessingService
ports:
- 5050:5050
user-service:
build: UserService
environment:
- DB_HOSTNAME=
- DB_PORT=
- DB_USERNAME=postgres
- DB_PASSWORD=QWERTYUIO2313
- DB_NAME=userdb
- KAFKA_BROKERS=
- KAFKA_GROUP_ID=user-service
- KAFKA_CLIENT_ID=user-service
- ACCOUNTRESP_TOPIC=accountResponsesTopic
- ACCOUNTREQ_TOPIC=accountRequestsTopic
- SMTP_FROM=
- SMTP_SERVER=
- SMTP_PORT=
- SMTP_USERNAME=
- SMTP_PASSWORD=
ports:
- 5090:5090
restart: unless-stopped