###########################
# 🦎 KOMODO CORE CONFIG 🦎 #
###########################
title = "Komodo Test"
host = "http://localhost:9121"
port = 9121
passkey = "a_random_passkey"
sync_directory = ".komodo/syncs"
repo_directory = ".komodo/core-repos"
frontend_path = "frontend/dist"
first_server = "http://localhost:8121"

disable_confirm_dialog = true
enable_new_users = true

# database.address = "localhost:27017"
database.address = "test-ferretdb.orb.local"
# database.username = "admin"
# database.password = "admin"
# database.uri = "mongodb://admin:admin@localhost:27017/komodo" # For ferretdb-postgres

local_auth = true
jwt_secret = "your_random_secret"
jwt_ttl = "2-wk"

oidc_enabled = false
# oidc_provider = "http://server.authentik2.orb.local:9000/application/o/komodo"
# oidc_client_id = "komodo"
# oidc_client_secret = "komodo"

webhook_secret = "a_random_webhook_secret"

monitoring_interval = "5-sec"
resource_poll_interval = "1-min"

###########
# LOGGING #
###########
logging.level = "info"
logging.stdio = "standard"
logging.otlp_endpoint = "http://tempo.grafana.orb.local:4317"
logging.opentelemetry_service_name = "Komodo"
