Documentation
¶
Index ¶
Constants ¶
View Source
const (
// MaxLogFileSize is the maximum size of log file before rotation (10MB)
MaxLogFileSize = 10 * 1024 * 1024
)
Variables ¶
View Source
var ( Version = "dev" Commit = "" Date = "" BuiltBy = "" )
Version variables set via ldflags during build
Functions ¶
Types ¶
type Config ¶
type Config struct {
Networks []string // Docker networks to watch (e.g., ["roji", "custom"])
BaseDomain string
BindAddrs []string // Addresses to listen on; a single "" means every interface
HTTPPort int
HTTPSPort int
CertsDir string
AutoCert bool
DashboardHost string
LogLevel string
DataDir string // Directory for persistent data (project history)
StaticSites []config.StaticSite // Static file hosting sites
ConfigPath string // Path to config file (for reload)
}
Config holds the server configuration
Click to show internal directories.
Click to hide internal directories.