feat: Add initial monitoring
Some checks failed
Build Docker / BuildSite (push) Failing after 23s

This commit is contained in:
2024-06-22 17:34:01 +10:00
parent 9efd158b1f
commit f4fdc29d80
5 changed files with 157 additions and 25 deletions

View File

@@ -8,17 +8,17 @@
<link rel="icon" href="/assets/img/favicon.png">
</head>
<body>
<h1>Hello, World!</h1>
{{if .envMessage }}
<p>{{.envMessage}}</p>
<h1>HNSDoH Node Status</h1>
{{ if .logContent}}
<h2>Log Output</h2>
<pre>{{.logContent}}</pre>
{{end}}
{{if .message}}
<p>{{.message}}</p>
{{end}}
<form action="/" method="post">
<input type="text" name="message" placeholder="Enter your message">
<button type="submit">Submit</button>
</form>
<!-- Reload automatically every 30 seconds -->
<script>
setTimeout(function(){
window.location.reload(1);
}, 30000);
</script>
</body>
</html>