mirror of
				https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
				synced 2025-10-26 18:05:28 +03:00 
			
		
		
		
	
		
			
	
	
		
			24 lines
		
	
	
		
			606 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			606 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								# Toggle debug mode
							 | 
						||
| 
								 | 
							
								#DEBUG=false
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Where the client can find the DLS server
							 | 
						||
| 
								 | 
							
								DLS_URL=127.0.0.1
							 | 
						||
| 
								 | 
							
								DLS_PORT=443
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# CORS configuration
							 | 
						||
| 
								 | 
							
								## comma separated list without spaces
							 | 
						||
| 
								 | 
							
								#CORS_ORIGINS="https://$DLS_URL:$DLS_PORT"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Lease expiration in days
							 | 
						||
| 
								 | 
							
								LEASE_EXPIRE_DAYS=90
							 | 
						||
| 
								 | 
							
								LEASE_RENEWAL_PERIOD=0.2
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# Database location
							 | 
						||
| 
								 | 
							
								## https://docs.sqlalchemy.org/en/14/core/engines.html
							 | 
						||
| 
								 | 
							
								DATABASE=sqlite:////etc/fastapi-dls/db.sqlite
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# UUIDs for identifying the instance
							 | 
						||
| 
								 | 
							
								#SITE_KEY_XID="00000000-0000-0000-0000-000000000000"
							 | 
						||
| 
								 | 
							
								#INSTANCE_REF="10000000-0000-0000-0000-000000000001"
							 | 
						||
| 
								 | 
							
								#ALLOTMENT_REF="20000000-0000-0000-0000-000000000001"
							 |