Update teleport-node.yaml

This commit is contained in:
Florian Hoss 2022-06-29 13:47:26 +02:00
parent dc3a7076eb
commit 4628820aa4

View file

@ -16,20 +16,37 @@ ssh_service:
Type: Server
permit_user_env: true
commands:
- name: IP
command: ["/bin/curl", "ifconfig.me"]
period: 1h0m0s
- name: UP
command: ["/bin/sh", "-c", "uptime -p | cut -c4- | cut -d',' -f1"]
period: 1h0m0s
- name: Compose
command: ["/bin/sh", "-c", "docker compose version --short"]
period: "168h"
- name: Docker
command: ["/bin/sh", "-c", "docker system info | grep Running | cut -d' ' -f4"]
period: 0h30m0s
period: "30m"
- name: Engine
command: ["/bin/sh", "-c", "docker version --format '{{.Server.Version}}'"]
period: "168h"
- name: Kernel
command: ["/bin/uname", "-r"]
period: "168h"
- name: Teleport
command: ["/bin/sh", "-c", "teleport version | cut -d' ' -f2"]
period: "168h"
- name: Temp
command: ["/bin/sh", "-c", "sensors | grep temp1 | cut -d' ' -f9"]
period: "1m"
proxy_service:
enabled: no
app_service:
enabled: yes
apps:
- name: "dns"
description: "PiHole"
uri: "http://localhost/admin/"
rewrite:
redirect:
- "localhost"
- "dns.tp.unjx.de"
- name: "scrutiny"
uri: "http://localhost:8080"
public_addr: "scrutiny.tp.fhoss.de"