added more .env stuff
This commit is contained in:
@@ -7,7 +7,7 @@ Purpose:
|
|||||||
|
|
||||||
## Environment Variables
|
## Environment Variables
|
||||||
|
|
||||||
Recommended to put these in the relevant `~/.bashrc` file
|
Put these in a `.env` file in the directory that the backup will be run from.
|
||||||
|
|
||||||
| Env Variable | Description |
|
| Env Variable | Description |
|
||||||
|---------------------|--------------------------------------------------------------------------------------------|
|
|---------------------|--------------------------------------------------------------------------------------------|
|
||||||
|
|||||||
@@ -95,4 +95,7 @@ def main(loki_url: str, dry_run: bool, **kwargs):
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
|
load_dotenv()
|
||||||
main()
|
main()
|
||||||
|
|||||||
Reference in New Issue
Block a user