Addon config -> Settings. Pure: the profiles file's contents and the home directory arrive as values.
Config keys (manifest :addon/config, then config.edn :addons {"hive.compose" {..}}):
:compose/profiles [Profile ..] or {id Profile}, inline
:compose/profiles-file EDN file of the same shape
(default ~/.config/hive-mcp/compose-profiles.edn)
:compose/projects {id Project}: compose projects whose services
and native profiles are addressable as targets
(<project>/<target>)
:compose/default-ttl-minutes idle minutes before the reaper acts (default 60)
:compose/default-idle-action :stop | :down | :none (default :stop)
:compose/tick-seconds reaper period (default 60)
:compose/state-file default ~/.local/state/hive-compose/state.edn
:compose/timeout-ms per compose call (default 60000)
:compose/up-timeout-ms per up, pulls included (default 600000)
:compose/adopt? adopt running stacks of configured profiles (default true)
Addon config -> Settings. Pure: the profiles file's contents and the home
directory arrive as values.
Config keys (manifest `:addon/config`, then config.edn `:addons {"hive.compose" {..}}`):
:compose/profiles [Profile ..] or {id Profile}, inline
:compose/profiles-file EDN file of the same shape
(default ~/.config/hive-mcp/compose-profiles.edn)
:compose/projects {id Project}: compose projects whose services
and native profiles are addressable as targets
(`<project>/<target>`)
:compose/default-ttl-minutes idle minutes before the reaper acts (default 60)
:compose/default-idle-action :stop | :down | :none (default :stop)
:compose/tick-seconds reaper period (default 60)
:compose/state-file default ~/.local/state/hive-compose/state.edn
:compose/timeout-ms per compose call (default 60000)
:compose/up-timeout-ms per `up`, pulls included (default 600000)
:compose/adopt? adopt running stacks of configured profiles (default true)(expand-home home s)s with a leading ~ replaced by home.
`s` with a leading ~ replaced by `home`.
(normalize-profile home p)Profile with a string id, its dir expanded against home and its programs
resolved against that dir.
Profile with a string id, its dir expanded against `home` and its programs resolved against that dir.
(normalize-programs home base programs)Programs with string ids and their dirs made absolute against base, the
directory of the project or profile that declares them.
Programs with string ids and their dirs made absolute against `base`, the directory of the project or profile that declares them.
(normalize-project home p)Project with a string id, its dir expanded against home and its programs
resolved against that dir.
Project with a string id, its dir expanded against `home` and its programs resolved against that dir.
(profiles-file cfg home)Path of the profiles file cfg names, expanded against home.
Path of the profiles file `cfg` names, expanded against `home`.
(settings cfg file-profiles home)Result<Settings> from merged addon config cfg, the profiles read from the
profiles file (file-profiles, nil when absent) and home. Inline profiles
override file profiles with the same id.
Result<Settings> from merged addon config `cfg`, the profiles read from the profiles file (`file-profiles`, nil when absent) and `home`. Inline profiles override file profiles with the same id.
(under home base dir)dir as an absolute path: itself when absolute or under ~, else resolved
against base.
`dir` as an absolute path: itself when absolute or under ~, else resolved against `base`.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |