diff --git a/lib/config/__init__.py b/lib/config/__init__.py new file mode 100644 index 0000000..d3319d7 --- /dev/null +++ b/lib/config/__init__.py @@ -0,0 +1 @@ +from .envvars import * diff --git a/lib/config/envvars.py b/lib/config/envvars.py new file mode 100644 index 0000000..ab75fdb --- /dev/null +++ b/lib/config/envvars.py @@ -0,0 +1,5 @@ +import os + +PUBLISHER_PORT = os.getenv('PUBLISHER_PORT', 7654) +RECEIVER_PORT = os.getenv('RECEIVER_PORT', 8765) +WEB_PORT = os.getenv('WEB_PORT', 4242)