services: k8s-pulse: build: context: . dockerfile: Dockerfile container_name: k8s-pulse user: "${UID:-1000}:${GID:-1000}" ports: - "5000:5000" environment: - KUBECONFIG=/tmp/config - HOME=/tmp volumes: - ${KUBECONFIG:-/home/builder/.kube/config}:/tmp/config:ro restart: unless-stopped