We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b53bd5a commit ecdb5b1Copy full SHA for ecdb5b1
1 file changed
pkg/sshd/config.go
@@ -1,7 +1,7 @@
1
package sshd
2
3
type Config struct {
4
- FetcherPort int `envconfig:"fetcher_port"`
5
- SSHHostIP string `envconfig:"ssh_host_ip"`
6
- SSHHostPort int `envconfig:"ssh_host_port"`
+ FetcherPort int `envconfig:"fetcher_port" default:"3000"`
+ SSHHostIP string `envconfig:"ssh_host_ip" default:"0.0.0.0"`
+ SSHHostPort int `envconfig:"ssh_host_port" default:"2223"`
7
}
0 commit comments