Open swirlds-automation opened 1 year ago
migrated from:
url=https://github.com/swirlds/swirlds-platform/issues/6654
author:hendrikebbers, #:6654, createdAt:2023-02-08T13:12:31Z, updatedAt=2023-02-17T20:56:01Z
labels=Migration:Base
Details about env usage: https://github.com/hashgraph/hedera-services/issues/3972
The config API can already read config properties from the system environment (see
SystemEnvironmentConfigSource
). It would be cool if a '.env' file would be supported, too. The lib https://github.com/cdimascio/dotenv-java provides functionality to read an.env
file and add the content to the system environment. We could add that to the config source.