24 lines
		
	
	
		
			671 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
		
		
			
		
	
	
			24 lines
		
	
	
		
			671 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| 
								 | 
							
								# ThingsBoard server configuration
							 | 
						||
| 
								 | 
							
								MQTT_BIND_ADDRESS=0.0.0.0
							 | 
						||
| 
								 | 
							
								MQTT_BIND_PORT=1883
							 | 
						||
| 
								 | 
							
								COAP_BIND_ADDRESS=0.0.0.0
							 | 
						||
| 
								 | 
							
								COAP_BIND_PORT=5683
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# type of database to use: sql[DEFAULT] or cassandra
							 | 
						||
| 
								 | 
							
								DATABASE_TYPE=sql
							 | 
						||
| 
								 | 
							
								SQL_DATA_FOLDER=/usr/share/thingsboard/data/db
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# cassandra db config
							 | 
						||
| 
								 | 
							
								CASSANDRA_URL=cassandra:9042
							 | 
						||
| 
								 | 
							
								CASSANDRA_HOST=cassandra
							 | 
						||
| 
								 | 
							
								CASSANDRA_PORT=9042
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								# postgres db config
							 | 
						||
| 
								 | 
							
								POSTGRES_HOST=postgres
							 | 
						||
| 
								 | 
							
								POSTGRES_PORT=5432
							 | 
						||
| 
								 | 
							
								# SPRING_JPA_DATABASE_PLATFORM=org.hibernate.dialect.PostgreSQLDialect
							 | 
						||
| 
								 | 
							
								# SPRING_DRIVER_CLASS_NAME=org.postgresql.Driver
							 | 
						||
| 
								 | 
							
								# SPRING_DATASOURCE_URL=jdbc:postgresql://postgres:5432/thingsboard
							 | 
						||
| 
								 | 
							
								# SPRING_DATASOURCE_USERNAME=postgres
							 | 
						||
| 
								 | 
							
								# SPRING_DATASOURCE_PASSWORD=postgres
							 |