Add PostgreSQL DB for performance test results
The database will hold the performance results of the execution of the benchmarks. We follow the same setup on knights3 for now. Reviewed-by: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
This commit is contained in:
		
							parent
							
								
									45f8d4bd6c
								
							
						
					
					
						commit
						114d3aa1af
					
				| @ -15,6 +15,7 @@ | ||||
|     ./public-inbox.nix | ||||
|     ./gitea.nix | ||||
|     ./msmtp.nix | ||||
|     ./postgresql.nix | ||||
|     #./pxe.nix | ||||
|   ]; | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										19
									
								
								m/hut/postgresql.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								m/hut/postgresql.nix
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,19 @@ | ||||
| { lib, ... }: | ||||
| 
 | ||||
| { | ||||
|   services.postgresql = { | ||||
|     enable = true; | ||||
|     ensureDatabases = [ "perftestsdb" ]; | ||||
|     ensureUsers = [ | ||||
|       { name = "anavarro"; ensureClauses.superuser = true; } | ||||
|       { name = "rarias";   ensureClauses.superuser = true; } | ||||
|       { name = "grafana"; } | ||||
|     ]; | ||||
|     authentication = '' | ||||
|       #type  database     DBuser    auth-method | ||||
|       local  perftestsdb  rarias    trust | ||||
|       local  perftestsdb  anavarro  trust | ||||
|       local  perftestsdb  grafana   trust | ||||
|     ''; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user