feat(statsreporter): add railway platform detection (#8467)

This commit is contained in:
Nageshbansal 2025-07-08 18:31:21 +05:30 committed by GitHub
parent ba2ed3ad22
commit b50127b567
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,6 +106,8 @@ func detectPlatform() string {
return "render"
case os.Getenv("COOLIFY_RESOURCE_UUID") != "":
return "coolify"
case os.Getenv("RAILWAY_SERVICE_ID") != "":
return "railway"
}
// Try to detect cloud provider through metadata endpoints