Merge branch 'master' into checks/622-run-e2e-on-current-build
This commit is contained in:
commit
dc49f28e4e
2 changed files with 38 additions and 0 deletions
27
docker/kafka-ui-traefik-proxy.yaml
Normal file
27
docker/kafka-ui-traefik-proxy.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
---
|
||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
traefik:
|
||||||
|
restart: always
|
||||||
|
image: traefik:v2.4
|
||||||
|
container_name: traefik
|
||||||
|
command:
|
||||||
|
- --api.insecure=true
|
||||||
|
- --providers.file.directory=/etc/traefik
|
||||||
|
- --providers.file.watch=true
|
||||||
|
- --entrypoints.web.address=:80
|
||||||
|
- --log.level=debug
|
||||||
|
ports:
|
||||||
|
- 80:80
|
||||||
|
volumes:
|
||||||
|
- ./traefik:/etc/traefik
|
||||||
|
|
||||||
|
kafka-ui:
|
||||||
|
container_name: kafka-ui
|
||||||
|
image: provectuslabs/kafka-ui:latest
|
||||||
|
ports:
|
||||||
|
- 8082:8080
|
||||||
|
environment:
|
||||||
|
KAFKA_CLUSTERS_0_NAME: local
|
||||||
|
KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS: kafka:9092
|
||||||
|
SERVER_SERVLET_CONTEXT_PATH: /kafka-ui
|
11
docker/traefik/kafkaui.yaml
Normal file
11
docker/traefik/kafkaui.yaml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
http:
|
||||||
|
routers:
|
||||||
|
kafkaui:
|
||||||
|
rule: "PathPrefix(`/kafka-ui/`)"
|
||||||
|
entrypoints: web
|
||||||
|
service: kafkaui
|
||||||
|
services:
|
||||||
|
kafkaui:
|
||||||
|
loadBalancer:
|
||||||
|
servers:
|
||||||
|
- url: http://kafka-ui:8080
|
Loading…
Add table
Reference in a new issue