DavesCodeMusings / container-central

A minimalist, not quite ready for prime time solution to managing Docker containers.
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Configuration file #3

Closed DavesCodeMusings closed 2 years ago

DavesCodeMusings commented 2 years ago

Read in a config.json like this: const config = require('config.json') Store customizable values like: path to docker socket, http listen port, location of compose files, etc.

DavesCodeMusings commented 2 years ago

can use config.json like this:

{
  "listenPort": 80
}

Also dockerSocket and dockerCompose.