mirror of
https://github.com/portainer/portainer.git
synced 2025-07-18 21:09:40 +02:00
* bootstrap encryption key * secret key message change in cli and secret key file content trimmed * Migrate encryption code to latest version * pull in newer code * tidying up * working data encryption layer * fix tests * remove stray comment * fix a few minor issues and improve the comments * split out databasefilename with param to two methods to be more obvious * DB encryption integration (#6374) * json methods moved under DBConnection * store encryption fixed * cleaned * review comments addressed * newstore value fixed * backup test updated * logrus format config updated * Fix for newStore Co-authored-by: Matt Hook <hookenz@gmail.com> * Minor improvements * Improve the export code. Add missing webhook for import * rename HelmUserRepositorys to HelmUserRepositories * fix logging messages * when starting portainer with a key (first use) http is disabled by default. But when starting fresh without a key, http is enabled? * Fix bug for default settings on new installs Co-authored-by: Prabhat Khera <prabhat.khera@portainer.io> Co-authored-by: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com>
23 lines
819 B
Go
23 lines
819 B
Go
package cli
|
|
|
|
const (
|
|
defaultBindAddress = ":9000"
|
|
defaultHTTPSBindAddress = ":9443"
|
|
defaultTunnelServerAddress = "0.0.0.0"
|
|
defaultTunnelServerPort = "8000"
|
|
defaultDataDirectory = "C:\\data"
|
|
defaultAssetsDirectory = "./"
|
|
defaultTLS = "false"
|
|
defaultTLSSkipVerify = "false"
|
|
defaultTLSCACertPath = "C:\\certs\\ca.pem"
|
|
defaultTLSCertPath = "C:\\certs\\cert.pem"
|
|
defaultTLSKeyPath = "C:\\certs\\key.pem"
|
|
defaultHTTPDisabled = "false"
|
|
defaultHTTPEnabled = "true"
|
|
defaultSSL = "false"
|
|
defaultSSLCertPath = "C:\\certs\\portainer.crt"
|
|
defaultSSLKeyPath = "C:\\certs\\portainer.key"
|
|
defaultSnapshotInterval = "5m"
|
|
defaultBaseURL = "/"
|
|
defaultSecretKeyName = "portainer"
|
|
)
|