mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-22 17:11:56 +00:00
Add environment variables to config
This commit is contained in:
parent
f379c16996
commit
ff38f41f57
1
lib/config/__init__.py
Normal file
1
lib/config/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
from .envvars import *
|
5
lib/config/envvars.py
Normal file
5
lib/config/envvars.py
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user