37 lines
910 B
YAML
37 lines
910 B
YAML
name: hubble-ui
|
|
|
|
services:
|
|
backend:
|
|
image: quay.io/cilium/hubble-ui-backend:${HUBBLE_UI_VERSION:-v0.9.2}
|
|
environment:
|
|
FLOWS_API_ADDR: "host.docker.internal:4245"
|
|
TLS_TO_RELAY_ENABLED: "false"
|
|
KUBECONFIG: /kubeconfig
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- type: bind
|
|
source: ${KUBECONFIG_PATH:-~/.kube/config}
|
|
target: /kubeconfig
|
|
read_only: true
|
|
|
|
frontend:
|
|
image: quay.io/cilium/hubble-ui:${HUBBLE_UI_VERSION:-v0.9.2}
|
|
depends_on:
|
|
backend:
|
|
restart: false
|
|
condition: service_started
|
|
required: true
|
|
ports:
|
|
- name: web
|
|
target: 8081
|
|
published: 8081
|
|
host_ip: 0.0.0.0
|
|
protocol: tcp
|
|
app_protocol: http
|
|
volumes:
|
|
- type: bind
|
|
source: ./nginx.conf
|
|
target: /etc/nginx/conf.d/default.conf
|
|
read_only: true
|