48 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Properties
		
	
	
	
	
	
		
		
			
		
	
	
			48 lines
		
	
	
		
			1.4 KiB
		
	
	
	
		
			Properties
		
	
	
	
	
	
| 
								 | 
							
								## system.properties
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# each unifi instance requires a set of ports:
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								## device inform
							 | 
						||
| 
								 | 
							
								# unifi.http.port=$UNIFI_INFORM_PORT
							 | 
						||
| 
								 | 
							
								## controller UI / API
							 | 
						||
| 
								 | 
							
								# unifi.https.port=$UNIFI_GUI_PORT
							 | 
						||
| 
								 | 
							
								## portal redirect port for HTTP
							 | 
						||
| 
								 | 
							
								# portal.http.port=$UNIFI_PORTAL_PORT
							 | 
						||
| 
								 | 
							
								## portal redirect port for HTTPs
							 | 
						||
| 
								 | 
							
								# portal.https.port=8843
							 | 
						||
| 
								 | 
							
								## local-bound port for DB server
							 | 
						||
| 
								 | 
							
								# unifi.db.port=27117
							 | 
						||
| 
								 | 
							
								## UDP port used for STUN
							 | 
						||
| 
								 | 
							
								# unifi.stun.port=$UNIFI_STUN_PORT
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								## the IP devices should be talking to for inform
							 | 
						||
| 
								 | 
							
								system_ip=$UNIFI_SYSTEM_ADDRESS
							 | 
						||
| 
								 | 
							
								## disable mongodb journaling
							 | 
						||
| 
								 | 
							
								unifi.db.nojournal=true
							 | 
						||
| 
								 | 
							
								## extra mongod args
							 | 
						||
| 
								 | 
							
								# unifi.db.extraargs
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								db.mongo.local=false
							 | 
						||
| 
								 | 
							
								db.mongo.uri=mongodb://$UNIFI_DB_USER:$UNIFI_DB_PASSWORD@$UNIFI_DB_ADDRESS:$UNIFI_DB_PORT/$UNIFI_DB_NAME
							 | 
						||
| 
								 | 
							
								statdb.mongo.uri=mongodb://$UNIFI_DB_USER:$UNIFI_DB_PASSWORD@$UNIFI_DB_ADDRESS:$UNIFI_DB_PORT/$UNIFI_DB_STAT_NAME
							 | 
						||
| 
								 | 
							
								unifi.db.name=$UNIFI_DB_NAME
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								## HTTPS options
							 | 
						||
| 
								 | 
							
								# unifi.https.ciphers=TLS_RSA_WITH_AES_256_CBC_SHA,TLS_RSA_WITH_AES_128_CBC_SHA
							 | 
						||
| 
								 | 
							
								# unifi.https.sslEnabledProtocols=TLSv1,SSLv2Hello
							 | 
						||
| 
								 | 
							
								# unifi.https.hsts=false
							 | 
						||
| 
								 | 
							
								# unifi.https.hsts.max_age=31536000
							 | 
						||
| 
								 | 
							
								# unifi.https.hsts.preload=false
							 | 
						||
| 
								 | 
							
								# unifi.https.hsts.subdomain=false
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# Ports reserved for device redirector. There is no need to open
							 | 
						||
| 
								 | 
							
								# firewall for these ports on controller, however do NOT set
							 | 
						||
| 
								 | 
							
								# controller to use these ports.
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# portal.redirector.port=8881
							 | 
						||
| 
								 | 
							
								# portal.redirector.port.wired=8882
							 | 
						||
| 
								 | 
							
								#
							 | 
						||
| 
								 | 
							
								# Port used for throughput measurement.
							 | 
						||
| 
								 | 
							
								# unifi.throughput.port=6789
							 | 
						||
| 
								 | 
							
								#
							 |