This module centralizes shared configuration for all services and applications within the Rewind Bitcoin ecosystem. It is not intended for secrets.
There are two primary ways to use this module:
-
Directly: Bash scripts and other processes can source
services.envdirectly to access configuration variables. -
Programmatically: Node.js applications can use the
initEnvfunction to load the variables fromservices.envinto the globalprocess.envobject.
This dual approach provides a unified and centralized way to manage shared configurations across different parts of the system.