Closed DavesCodeMusings closed 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.
const config = require('config.json')
can use config.json like this:
{ "listenPort": 80 }
Also dockerSocket and dockerCompose.
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.