Custom configuration
Add your configuration in config/env_[CONTEXT].json (usuallly config/env_production.json)
The following configuration options are available:
- nameString (optional) - the name of the context.- productionor- development. Default:- production
- versionInteger (optional) - version of this configuration (Increase if you want to update env configuration between build updates). Default:- 0
- tlsVerifyCertBoolean (optional) - Accept self signed SSl certificates. Default:- trueon development,- falseon production
- blnUrlString (optional) - the url under which your Balloon installation is running. If no set user is prompted to enter URL on first start (eg:- https://example-balloon.io)
- apiPathString (optional) - the path to the API Default:- '/api/v1/'
- configDirString (optional) - path to the directory where configuration is stored on the client. You can use {home}/{username} which gets replaced with the current home directory/local username. This setting only works well if update.enable is set on- false. Default:- {home}/.balloon
- configFileNameString (optional) - name of the configuration file inside- configDirName. Default:- config.json
- balloonDirString (optional) - default path to the directory where the synced files are saved. You can use {home}/{username} which gets replaced with the current home directory/local username. Default:- {home}/Balloon
- logObject (optional) - logging configuration
- levelString (optional) - maximum level that should be logged. Default:- debug. Available levels:- {error: 3, warning: 4, notice: 5, info: 6, debug: 7}
- maxsizeInteger (optional) - maximum size of a single lg file. Default:- 10000000
- maxFilesInteger (optional) - maximum number of log files. Default:- 10
- requestTimeoutInteger (optional) - api request timeout in miliseconds. Default:- 30000
- sync: Object (optional) - sync configuration
- intervalInteger (optional) - interval in which syncs run in production context. Default:- 5
- maxConcurentConnectionsInteger (optional) - maximum simultaneous connections for file up- and downloads
- enableAutoLaunchBoolean (optional) - if app should be launched on system startup. Default: true
- allowPrereleaseBoolean (optional) - if auto updater should install pre releases. Default: false
- updateObject (optional) - update configuration
- enableBoolean (optional) - enables automatic (and manual) updates - Default:- true
- checkIntervalInteger (optional) - interval in hours the client should check for updates. A first check is always done on app start. Default:- 4
- winClsIdString (optional) - Windows explorer ClsId
- auth: Object (optional) - authentication configuration
- secretStorageString (optional) - credential storage, either config or keytar (OS keychain). Default:- keytar
- credentialsnull|'basic'|'token' - if- nullonly oidc auth is active,- tokenfor internal token flow,- basicfor basic authentication. Be sure your server supports the configured authentication method. Default:- token
- oidcArray (optional) - configure multiple OpenID-connect provider, be sure that your server also supports those oidc provider- clientIdString (required) client id
- clientSecretString (required) client secret
- providerUrlString (required) URL to the discovery document
- redirectUriString (required) redirect uri to local http port (for example: http://127.0.0.1:13005)
- revokeAuthenticationRequiredBoolean (otional) should be false if the /revoke endpoint does not require client authentication. Default:- true
- scopeString (required) OAUTH2 scopes (For example: openid profile)
- imgBase64String (required) base64 encoded Oidc sign-in button
 
- autoReportBoolean (optional) - If true report will be sent every- autoReportIntervalto- autoReportPutUrlDefault:- false
- autoReportPutUrlString (optional) - Url to which to send auto reports
- autoReportIntervalInteger (optional) - Interval to send auto reports in milliseconds. Default:- 300000