mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
feat(api): create platform dependant default values for CLI flags (#458)
This commit is contained in:
parent
59f1a2f673
commit
d8b800ddbc
5 changed files with 38 additions and 8 deletions
12
api/cli/defaults_windows.go
Normal file
12
api/cli/defaults_windows.go
Normal file
|
@ -0,0 +1,12 @@
|
|||
package cli
|
||||
|
||||
const (
|
||||
defaultBindAddress = ":9000"
|
||||
defaultDataDirectory = "C:\\data"
|
||||
defaultAssetsDirectory = "."
|
||||
defaultTemplatesURL = "https://raw.githubusercontent.com/portainer/templates/master/templates.json"
|
||||
defaultTLSVerify = "false"
|
||||
defaultTLSCACertPath = "C:\\certs\\ca.pem"
|
||||
defaultTLSCertPath = "C:\\certs\\cert.pem"
|
||||
defaultTLSKeyPath = "C:\\certs\\key.pem"
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue