using unix socket
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build and test backend / Build-backend (push) Successful in 2m9s
				
			
		
			
				
	
				Build and test backend / Test-backend (push) Successful in 1m18s
				
			
		
			
				
	
				Build and test FrontEnd / Build-frontend (push) Successful in 21s
				
			
		
			
				
	
				deploy to production / deploy-frontend (push) Successful in 20s
				
			
		
			
				
	
				deploy to production / deploy-backend (push) Successful in 1m33s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build and test backend / Build-backend (push) Successful in 2m9s
				
			Build and test backend / Test-backend (push) Successful in 1m18s
				
			Build and test FrontEnd / Build-frontend (push) Successful in 21s
				
			deploy to production / deploy-frontend (push) Successful in 20s
				
			deploy to production / deploy-backend (push) Successful in 1m33s
				
			This commit is contained in:
		@ -21,6 +21,7 @@ dependencies {
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-mail")
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-web")
 | 
			
		||||
	implementation("org.springframework.boot:spring-boot-starter-data-jpa")
 | 
			
		||||
	implementation("com.kohlschutter.junixsocket:junixsocket-core:2.9.0")
 | 
			
		||||
	// implementation("org.springframework.session:spring-session-jdbc")
 | 
			
		||||
	developmentOnly("org.springframework.boot:spring-boot-devtools")
 | 
			
		||||
	developmentOnly("org.springframework.boot:spring-boot-docker-compose")
 | 
			
		||||
 | 
			
		||||
@ -29,7 +29,7 @@ public class JdbcConfig {
 | 
			
		||||
	public DataSource psqlSourceProd(){
 | 
			
		||||
		DriverManagerDataSource source = new DriverManagerDataSource();
 | 
			
		||||
		source.setDriverClassName("org.postgresql.Driver");
 | 
			
		||||
		source.setUrl("jdbc:postgresql:clyde");
 | 
			
		||||
		source.setUrl("jdbc:postgresql:clyde?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432");
 | 
			
		||||
		source.setUsername("clyde");
 | 
			
		||||
 | 
			
		||||
		return source;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user