use caddyfile instead of api
This commit is contained in:
parent
53a5e2e45a
commit
3c79a8c778
9 changed files with 206 additions and 248 deletions
|
|
@ -6,25 +6,32 @@ import (
|
|||
)
|
||||
|
||||
type Config struct {
|
||||
DatabaseURL string
|
||||
ListenAddr string
|
||||
UnixSocketPath string
|
||||
DevMode bool
|
||||
DemoUser string
|
||||
DemoEmail string
|
||||
AuthHeaderUser string
|
||||
AuthHeaderEmail string
|
||||
ForgejoBaseURL string
|
||||
ForgejoToken string
|
||||
ForgejoGitUsername string
|
||||
ForgejoOrg string
|
||||
DBProvisionAdminURL string
|
||||
DBProvisionEnabled bool
|
||||
CaddyAdminURL string
|
||||
CaddyServerID string
|
||||
CaddyDomainSuffix string
|
||||
CaddyRouteEnabled bool
|
||||
WebhookBaseURL string
|
||||
DatabaseURL string
|
||||
ListenAddr string
|
||||
UnixSocketPath string
|
||||
DevMode bool
|
||||
DemoUser string
|
||||
DemoEmail string
|
||||
AuthHeaderUser string
|
||||
AuthHeaderEmail string
|
||||
ForgejoBaseURL string
|
||||
ForgejoToken string
|
||||
ForgejoGitUsername string
|
||||
ForgejoOrg string
|
||||
DBProvisionAdminURL string
|
||||
DBProvisionEnabled bool
|
||||
CaddyAdminURL string
|
||||
CaddyServerID string
|
||||
CaddyDomainSuffix string
|
||||
CaddyRouteEnabled bool
|
||||
CaddyAuthEnabled bool
|
||||
CaddyAuthUpstream string
|
||||
CaddyAuthURI string
|
||||
CaddyPersistConfigPath string
|
||||
CaddyFragmentPath string
|
||||
CaddyReloadCommand string
|
||||
CaddyAuthImportName string
|
||||
WebhookBaseURL string
|
||||
}
|
||||
|
||||
type App struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue