This commit is contained in:
Stavros
2026-01-31 10:33:55 +02:00
parent 252ba10f48
commit 0cd3ba8236
10 changed files with 461 additions and 95 deletions

View File

@@ -29,6 +29,7 @@ type Config struct {
Ldap LdapConfig `description:"LDAP configuration." yaml:"ldap"`
Experimental ExperimentalConfig `description:"Experimental features, use with caution." yaml:"experimental"`
Log LogConfig `description:"Logging configuration." yaml:"log"`
Tailscale TailscaleConfig `description:"Tailscale configuration." yaml:"tailscale"`
}
type ServerConfig struct {
@@ -84,6 +85,11 @@ type LogConfig struct {
Streams LogStreams `description:"Configuration for specific log streams." yaml:"streams"`
}
type TailscaleConfig struct {
AuthKey string `description:"Tailscale authentication key." yaml:"authKey"`
Hostname string `description:"Hostname for Tailscale." yaml:"hostname"`
}
type LogStreams struct {
HTTP LogStreamConfig `description:"HTTP request logging." yaml:"http"`
App LogStreamConfig `description:"Application logging." yaml:"app"`