make storage users service name configurable

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

add example how to add a new storage provider to the storage registry

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2024-07-29 16:55:36 +02:00
parent 24b940dfcc
commit 4950bcb7f4
2 changed files with 73 additions and 1 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ type Log struct {
// Service holds general service configuration
type Service struct {
Name string `yaml:"-"`
Name string `yaml:"-" env:"STORAGE_USERS_SERVICE_NAME" desc:"Service name to use. Change this when starting an additional storage provider with a custom configuration to prevent it from colliding with the default 'storage-users' service."`
}
// Debug is the configuration for the debug server