mirror of
				https://github.com/samply/bridgehead.git
				synced 2025-11-04 04:50:17 +01:00 
			
		
		
		
	beautiful config
This commit is contained in:
		
				
					committed by
					
						
						juarez
					
				
			
			
				
	
			
			
			
						parent
						
							9f5c30909b
						
					
				
				
					commit
					6caebc2e15
				
			@@ -1,10 +1,8 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function exporterSetup() {
 | 
					 | 
				
			||||||
if [ -n "$ENABLE_EXPORTER" ];then
 | 
					if [ -n "$ENABLE_EXPORTER" ];then
 | 
				
			||||||
  log INFO "Exporter setup detected -- will start Exporter service."
 | 
					  log INFO "Exporter setup detected -- will start Exporter service."
 | 
				
			||||||
  OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
 | 
					  OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
# TODO: Generate password in another way so that not all passwords are the same?
 | 
					# TODO: Generate password in another way so that not all passwords are the same?
 | 
				
			||||||
EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
 | 
					EXPORTER_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,7 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function teilerUiSetup() {
 | 
					if [ "$ENABLE_TEILER" == true ];then
 | 
				
			||||||
	if [ -n "$ENABLE_TEILER" ];then
 | 
					 | 
				
			||||||
  log INFO "Teiler-UI setup detected -- will start Teiler-UI services."
 | 
					  log INFO "Teiler-UI setup detected -- will start Teiler-UI services."
 | 
				
			||||||
  OVERRIDE+=" -f ./$PROJECT/modules/teiler-ui-compose.yml"
 | 
					  OVERRIDE+=" -f ./$PROJECT/modules/teiler-ui-compose.yml"
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
KEYCLOAK_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
 | 
					KEYCLOAK_DB_PASSWORD="$(echo \"This is a salt string to generate one consistent password. It is not required to be secret.\" | openssl rsautl -sign -inkey /etc/bridgehead/pki/${SITE_ID}.priv.pem | base64 | head -c 30)"
 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user