14 lines
297 B
YAML
14 lines
297 B
YAML
|
|
services:
|
||
|
|
k8s-pulse:
|
||
|
|
build:
|
||
|
|
context: .
|
||
|
|
dockerfile: Dockerfile
|
||
|
|
container_name: k8s-pulse
|
||
|
|
ports:
|
||
|
|
- "5000:5000"
|
||
|
|
environment:
|
||
|
|
- KUBECONFIG=/root/.kube/config
|
||
|
|
volumes:
|
||
|
|
- ${KUBECONFIG:-~/.kube/config}:/root/.kube/config:ro
|
||
|
|
restart: unless-stopped
|