NCP-4 #6

Merged
backdev merged 2 commits from NCP-4 into dev 2025-12-08 14:57:16 +08:00
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ services:
alloy:
condition: service_started
environment:
GF_AUTH_ANONYMOUS_ENABLED: true
GF_AUTH_ANONYMOUS_ENABLED: "true"
GF_SECURITY_ADMIN_USER: admin
GF_SECURITY_ADMIN_PASSWORD: admin
GF_METRICS_ENABLED: "true"
@@ -0,0 +1,15 @@
package ru.soune.no_copy.controller;
import org.apache.coyote.Response;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.*;
@RestController
@RequestMapping("/api")
public class HealtCheckController {
@GetMapping("/healt")
public HttpStatus healtCheck() {
return HttpStatus.OK;
}
}