-
Notifications
You must be signed in to change notification settings - Fork 53
/
tye.yaml
executable file
·218 lines (198 loc) · 5.03 KB
/
tye.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
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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
name: northwind
# extensions:
# - name: dapr
# log-level: debug
# config: appconfig
# components-path: "./components/"
# - name: zipkin
# - name: seq
# logPath: ./.logs
services:
- name: redis
image: redis:6.2.5-alpine
bindings:
- port: 6379
tags:
- inf
- name: redis-cli
image: redis:6.2.5-alpine
args: "redis-cli -h redis MONITOR"
tags:
- inf
- name: postgres
image: debezium/postgres
env_file:
- .env
bindings:
- port: 5432
connectionString: Server=${host};Port=${port};User Id=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
tags:
- inf
- name: zookeeper
image: debezium/zookeeper:latest
bindings:
- name: "2181"
containerPort: 2181
port: 2181
- name: "2888"
containerPort: 2888
port: 2888
- name: "3888"
containerPort: 3888
port: 3888
tags:
- inf
- name: kafka
image: debezium/kafka:latest
env:
- ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_LISTENERS=INTERNAL://:29092,EXTERNAL://:9092
- KAFKA_ADVERTISED_LISTENERS=INTERNAL://kafka:29092,EXTERNAL://kafka:9092
- KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=INTERNAL:PLAINTEXT,EXTERNAL:PLAINTEXT
- KAFKA_INTER_BROKER_LISTENER_NAME=INTERNAL
- KAFKA_ZOOKEEPER_SESSION_TIMEOUT=6000
- KAFKA_RESTART_ATTEMPTS=10
- KAFKA_RESTART_DELAY=5
- ZOOKEEPER_AUTOPURGE_PURGE_INTERVAL=0
- KAFKA_ADVERTISED_HOST_NAME=localhost
bindings:
- containerPort: 9092
port: 9092
tags:
- inf
- name: schema-registry
image: confluentinc/cp-schema-registry:6.1.0
env:
- SCHEMA_REGISTRY_HOST_NAME=schema-registry
- SCHEMA_REGISTRY_LISTENERS=http://schema-registry:8081
- SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS=PLAINTEXT://kafka:29092
bindings:
- protocol: http
containerPort: 8081
port: 8081
tags:
- inf
- name: connector
image: debezium/connect:1.7
env:
- BOOTSTRAP_SERVERS=kafka:9092
- GROUP_ID=1
- CONFIG_STORAGE_TOPIC=connector_configs
- OFFSET_STORAGE_TOPIC=connector_offsets
- STATUS_STORAGE_TOPIC=connector_statuses
- KEY_CONVERTER=io.confluent.connect.avro.AvroConverter
- VALUE_CONVERTER=io.confluent.connect.avro.AvroConverter
- INTERNAL_KEY_CONVERTER=org.apache.kafka.connect.json.JsonConverter
- INTERNAL_VALUE_CONVERTER=org.apache.kafka.connect.json.JsonConverter
- CONNECT_KEY_CONVERTER_SCHEMA_REGISTRY_URL=http://schema-registry:8081
- CONNECT_VALUE_CONVERTER_SCHEMA_REGISTRY_URL=http://schema-registry:8081
volumes:
- target: /kafka/connect/confluentinc-kafka-connect-jdbc-10.2.1/
source: _build/debezium/connectors/confluentinc-kafka-connect-jdbc-10.2.1/
- target: /kafka/connect/confluentinc-kafka-connect-elasticsearch-11.1.2/
source: _build/debezium/connectors/confluentinc-kafka-connect-elasticsearch-11.1.2/
bindings:
- protocol: http
containerPort: 8083
port: 8083
tags:
- inf
# - name: restproxy
# image: confluentinc/cp-kafka-rest:latest
# env:
# - KAFKA_REST_BOOTSTRAP_SERVERS=kafka:9092
# - KAFKA_REST_SCHEMA_REGISTRY_URL=http://schema-registry:8081
# bindings:
# - protocol: http
# containerPort: 8082
# port: 8082
# tags:
# - inf
- name: kafdrop
image: obsidiandynamics/kafdrop:3.27.0
env:
- ZOOKEEPER_CONNECT=zookeeper:2181
- KAFKA_BROKERCONNECT=kafka:9092
- SCHEMAREGISTRY_CONNECT=http://schema-registry:8081
- JVM_OPTS=-Xms32M -Xmx64M
- SERVER_SERVLET_CONTEXTPATH="/"
bindings:
- protocol: http
containerPort: 9000
port: 9000
tags:
- inf
- name: mongo
image: mongo
bindings:
- name: http27017
protocol: http
containerPort: 27017
port: 27017
- name: "27019"
containerPort: 27019
port: 27019
tags:
- inf
- name: seq
image: datalust/seq
env_file:
- .env
bindings:
- name: web
protocol: http
containerPort: 80
port: 8341
- name: ingest
protocol: http
containerPort: 5341
port: 5341
- name: humanresourcesapp
project: HumanResources/HumanResources.csproj
env_file:
- .env
bindings:
- port: 5001
- name: productcatalogapp
project: ProductCatalog/ProductCatalog.csproj
env_file:
- .env
bindings:
- port: 5002
- name: salepaymentapp
project: SalePayment/SalePayment.csproj
env_file:
- .env
bindings:
- port: 5003
- name: shippingapp
project: Shipping/Shipping.csproj
env_file:
- .env
bindings:
- port: 5004
# - name: customerserviceapp
# project: CustomerService/CustomerService.csproj
# env_file:
# - .env
# env:
# - name: ConnectionStrings__postgres
# value: Server=postgres;Port=5432;Database=${env:POSTGRES_DB};User Id=${env:POSTGRES_USER};Password=${env:POSTGRES_PASSWORD};
# bindings:
# - port: 5005
- name: auditcenterapp
project: AuditCenter/AuditCenter.csproj
env_file:
- .env
bindings:
- protocol: https
containerPort: 5006
port: 5006
- name: gatewayapp
project: AppGateway/AppGateway.csproj
env_file:
- .env
bindings:
- protocol: http
containerPort: 5010
port: 5010