fix(forgejo): disable the SSH server
This commit is contained in:
parent
a314ab52f8
commit
5876036012
3 changed files with 5 additions and 3 deletions
2
config
2
config
|
@ -1 +1 @@
|
|||
Subproject commit f4812f135bbfc4c5c3c4fa6f4ff4efe072c2627a
|
||||
Subproject commit 830827da9e0cd82f93e493074fbbad464c3a1ec4
|
|
@ -80,6 +80,8 @@ type Forgejo struct {
|
|||
Oauth2JwtSecret string `json:"oauth2JwtSecret"`
|
||||
Actions ForgejoActions `json:"actions"`
|
||||
Backups ForgejoBackups `json:"backups"`
|
||||
DisableSSH bool `json:"disableSSH"`
|
||||
StartSSHServer bool `json:"startSSHServer"`
|
||||
ContainerRunMode string
|
||||
}
|
||||
|
||||
|
|
|
@ -33,8 +33,8 @@ DOMAIN = {{ .Forgejo.Subdomain }}.{{ .RootDomain }}
|
|||
HTTP_ADDR = {{ .Forgejo.ContainerIpv4Address }}
|
||||
HTTP_PORT = {{ .Forgejo.HttpPort }}
|
||||
ROOT_URL = https://{{ .Forgejo.Subdomain }}.{{ .RootDomain }}
|
||||
DISABLE_SSH = false
|
||||
START_SSH_SERVER = true
|
||||
DISABLE_SSH = {{ .Forgejo.DisableSSH }}
|
||||
START_SSH_SERVER = {{ .Forgejo.StartSSHServer }}
|
||||
SSH_DOMAIN = {{ .Forgejo.Subdomain }}.{{ .RootDomain }}
|
||||
SSH_PORT = {{ .Traefik.ExternalSSHPort }}
|
||||
SSH_LISTEN_HOST = {{ .Forgejo.ContainerIpv4Address }}
|
||||
|
|
Loading…
Reference in a new issue