Files
komodo/config_example/periphery.config.example.toml
Maxwell Becker 1f2d236228 Dockerized periphery (#34)
* Add webhooks page to docs

* supports

* supports

* periphery Dockerfile

* add comments. Remove unneeded default config

* add FILE SYSTEM log

* remove log

* filter disks included in periphery disk report, on periphery side

* dockerized periphery

* all in one compose file docs

* remove some unused deps
2024-08-17 00:25:42 -07:00

128 lines
3.7 KiB
TOML

############################
# MONITOR PERIPHERY CONFIG #
############################
## Optional. The port the server runs on. 8120 is default
## Env: PERIPHERY_PORT
# port = 8120
## Optional. /etc/monitor/repos is default.
## The directory periphery will use to manage repos.
## The periphery user must have write access to this directory.
## Env: PERIPHERY_REPO_DIR
# repo_dir = "/home/ubuntu/monitor/repos"
## Optional. /etc/monitor/stacks is default.
## The directory periphery will use to manage stacks.
## The periphery user must have write access to this directory.
## Env: PERIPHERY_STACK_DIR
# stack_dir = "/home/ubuntu/monitor/stacks"
## Optional. 5-sec is default. can use 1-sec, 5-sec, 10-sec, 30-sec, 1-min. controls granularity of system stats recorded
## Env: PERIPHERY_STATS_POLLING_RATE
# stats_polling_rate = "1-sec"
## Whether stack actions should use `docker-compose ...`
## instead of `docker compose ...`.
## default: false
## Env: PERIPHERY_LEGACY_COMPOSE_CLI
# legacy_compose_cli = true
## Optional. Only include mounts with start with a specific path in the disk report.
## Env: PERIPHERY_INCLUDE_DISK_MOUNTS
# include_disk_mounts = ["/etc/monitor/repos"]
########
# AUTH #
########
## Optional. Limit the ip addresses which can call the periphery api.
## Default is empty, which will not block any request by ip.
## Env: PERIPHERY_ALLOWED_IPS
# allowed_ips = ["127.0.0.1"]
## Optional. Require callers to provide on of the provided passkeys to access the periphery api.
## Default is empty, which will not require any passkey to be passed by core.
## Env: PERIPHERY_PASSKEYS
# passkeys = ["abcdefghijk"]
###########
# SECRETS #
###########
## provide periphery-based secrets
# [secrets]
# SECRET_1 = "value_1"
# SECRET_2 = "value_2"
#################
# GIT PROVIDERS #
#################
## configure periphery-based git providers
# [[git_provider]]
# domain = "github.com"
# accounts = [
# { username = "mbecker20", token = "access_token_for_account" },
# { username = "moghtech", token = "access_token_for_other_account" },
# ]
# [[git_provider]]
# domain = "git.mogh.tech" # use a custom provider, like self-hosted gitea
# accounts = [
# { username = "mbecker20", token = "access_token_for_account" },
# ]
# [[git_provider]]
# domain = "localhost:8000" # use a custom provider, like self-hosted gitea
# https = false # use http://localhost:8000 as base-url for clone
# accounts = [
# { username = "mbecker20", token = "access_token_for_account" },
# ]
######################
# REGISTRY PROVIDERS #
######################
## configure periphery-based docker registries
# [[docker_registry]]
# domain = "docker.io"
# accounts = [
# { username = "mbecker2020", token = "access_token_for_account" }
# ]
# organizations = ["DockerhubOrganization"]
# [[docker_registry]]
# domain = "git.mogh.tech" # use a custom provider, like self-hosted gitea
# accounts = [
# { username = "mbecker20", token = "access_token_for_account" },
# ]
# organizations = ["Mogh"] # These become available in the UI
###########
# LOGGING #
###########
## Specify the log level of the monitor core application
## Default: info
## Options: off, error, warn, info, debug, trace
## Env: PERIPHERY_LOGGING_LEVEL
# logging.level = "debug"
## Specify the logging format for stdout / stderr.
## Default: standard
## Options: standard, json, none
## Env: PERIPHERY_LOGGING_STDIO
# logging.stdio = "json"
## Specify a opentelemetry otlp endpoint to send traces to
## Optional, default unassigned
## Env: PERIPHERY_LOGGING_OTLP_ENDPOINT
# logging.otlp_endpoint = "http://localhost:4317"
## Set the opentelemetry service name attached to the telemetry this periphery will send.
## Default: "Monitor"
## Env: PERIPHERY_LOGGING_OPENTELEMETRY_SERVICE_NAME
# logging.opentelemetry_service_name = "Periphery-02"