Files
komodo/config/komodo.cli.toml
Maxwell Becker a65fd4dca7 1.19.3 (#792)
* start. 1.19.3

* deploy 1.19.3-dev-1

* repo state from db includes BuildRepo success

* clean up version mismatch text

* feat(containers): debounced search input and added filter by server name (#796)

* Fix cleaning Alerter resource whitelist / blacklist on resource delete re #581

* fmt

* Fix signup button not working correctly (#801)

* Improve route protection and authentication flow (#798)

* Improve route protection and authentication flow

* Cleanup

* fix: inconsistent behaviour of new resource create button (#800)

* fix monaco crashing with absolute path config files

* deploy 1.19.3-dev-2

* proofread config

* Fix #427

* deploy 1.19.3-dev-3

* poll logs use println

* Sync: Only show commit / execute when viewing pending tab

* Improve sync UX

* deploy 1.19.3-dev-4

* bold link

* remove claims about database resource usage.

* 1.19.3

---------

Co-authored-by: mbecker20 <max@mogh.tech>
Co-authored-by: Antonio Sarro <tech@antoniosarro.dev>
Co-authored-by: jack <45038833+jackra1n@users.noreply.github.com>
2025-09-05 13:41:58 -07:00

79 lines
2.4 KiB
TOML

##########################
# 🦎 KOMODO CLI CONFIG 🦎 #
##########################
## This is the offical "Default" config file for the Komodo CLI.
## It serves as documentation for the meaning of the fields.
## It is located at `https://github.com/moghtech/komodo/blob/main/config/komodo.cli.toml`.
## Most fields can also be configured using cli arguments and environment variables.
## These will will override values set in this file. (cli args > env > config files).
## You can also use JSON or YAML if preferred. You can convert here:
## - YAML: https://it-tools.tech/toml-to-yaml
## - JSON: https://it-tools.tech/toml-to-json
# Choose default profile to use with `km ...`
default_profile = "Default"
# default_profile = "Alt"
# Set base values if they aren't defined in profile
# Default: 14
max_backups = 7
# Options: HorizontalOnly, VeriticalOnly, OutsideOnly, InsideOnly, AllBorders
# Default: HorizontalOnly
table_format = "HorizontalOnly"
[[profile]]
name = "Default"
aliases = ["d"] # Use `km -p d ...`
#
# Env: KOMODO_CLI_HOST > KOMODO_HOST
host = "https://komodo.example.com"
# Env: KOMODO_CLI_KEY
key = "K-..."
# Env: KOMODO_CLI_SECRET
secret = "S-..."
#
# Env: KOMODO_CLI_BACKUPS_FOLDER
backups_folder = "/backups"
# Env: KOMODO_CLI_MAX_BACKUPS
max_backups = 14
#
# DATABASE USED TO BACKUP / COPY FROM
#
## Env: KOMODO_DATABASE_URI or KOMODO_DATABASE_URI_FILE
database.uri = ""
## ==== * OR * ==== ##
# Construct the address as mongodb://{username}:{password}@{address}
## Env: KOMODO_DATABASE_URI or KOMODO_DATABASE_URI_FILE
database.address = "localhost:27017"
## Env: KOMODO_DATABASE_USERNAME or KOMODO_DATABASE_USERNAME_FILE
database.username = ""
## Env: KOMODO_DATABASE_PASSWORD or KOMODO_DATABASE_PASSWORD_FILE
database.password = ""
## Env: KOMODO_DATABASE_DB_NAME
## Default: komodo.
database.db_name = "komodo"
#
# DATABASE USED TO RESTORE / COPY TO
#
## Env: KOMODO_CLI_DATABASE_TARGET_URI
database_target.uri = ""
## ==== * OR * ==== ##
# Construct the address as mongodb://{username}:{password}@{address}
## Env: KOMODO_CLI_DATABASE_TARGET_URI
database_target.address = "localhost:27017"
## Env: KOMODO_CLI_DATABASE_TARGET_USERNAME
database_target.username = ""
## Env: KOMODO_CLI_DATABASE_TARGET_PASSWORD
database_target.password = ""
## Env: KOMODO_CLI_DATABASE_TARGET_DB_NAME
## Default: komodo.
database_target.db_name = "komodo"
[[profile]]
name = "Alt"
# ... Configure same as above