Align env var names, fix port conflict

This commit is contained in:
André Duffeck committed 2026-10-06 11:28:16 +02:00
1 parent 88e45f8961
commit 3a555257fb
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -76,10 +76,10 @@ type HTTP struct {
// GRPCConfig defines the GRPC configuration
type GRPCConfig struct {
Addr string `yaml:"addr" env:"GUESTAUTH_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"%%NEXT%%"`
Addr string `yaml:"addr" env:"AUTH_GUEST_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"%%NEXT%%"`
TLS *shared.GRPCServiceTLS `yaml:"tls"`
Namespace string `yaml:"-"`
Protocol string `yaml:"protocol" env:"OC_GRPC_PROTOCOL;GUESTAUTH_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"%%NEXT%%"`
Protocol string `yaml:"protocol" env:"OC_GRPC_PROTOCOL;AUTH_GUEST_GRPC_PROTOCOL" desc:"The transport protocol of the GRPC service." introductionVersion:"%%NEXT%%"`
}
// Storage defines the configuration for the token storage.
@@ -41,7 +41,7 @@ func DefaultConfig() *config.Config {
},
RevaGateway: shared.DefaultRevaConfig().Address,
GRPC: config.GRPCConfig{
Addr: "127.0.0.1:9265",
Addr: "127.0.0.1:9268",
Namespace: "eu.opencloud.api",
Protocol: "tcp",
},