mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 05:52:55 +00:00 
			
		
		
		
	Add environment variables to config
This commit is contained in:
		
							
								
								
									
										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)
 | 
			
		||||
		Reference in New Issue
	
	Block a user