A CLI tool for running docker compositions, swarms, and managing secrets

Usage no npm install needed!

<script type="module">
  import prescrireCfg from 'https://cdn.skypack.dev/@prescrire/cfg';


Configuration files

  1. package.json
  2. development.env
  3. production.env
  4. .cfg.json


Put to your .gitignore and (in some cases) .gockerignore following lines:


Configuration merge priority

The cfg reads its configuration in multiple places and merges them into one in accordance to a priority below:

  1. .cfg.json file in project root (should be added to .gitignore)
  2. cfg property in package.json
  3. package.json for props: name