fix: append the app name to the service name for parallel deployment

This will allow multiple collaboration services to target 2, 3 or more
different WOPI apps. It's expected that each different collaboration
service is deployed in a different container or host
This commit is contained in:
Juan Pablo Villafáñez
2024-06-21 10:51:04 +02:00
parent 1a7f713133
commit 668eb5c34b
6 changed files with 14 additions and 14 deletions
@@ -15,7 +15,7 @@ func Server(opts ...Option) (*http.Server, error) {
return debug.NewService(
debug.Logger(options.Logger),
debug.Name(options.Config.Service.Name),
debug.Name(options.Config.Service.Name+"."+options.Config.App.Name),
debug.Version(version.GetString()),
debug.Address(options.Config.Debug.Addr),
debug.Token(options.Config.Debug.Token),