You've already forked explain.depesz.com
							
							
				mirror of
				https://gitlab.com/depesz/explain.depesz.com.git
				synced 2025-10-31 00:07:57 +02:00 
			
		
		
		
	make the config for production
This commit is contained in:
		
							
								
								
									
										10
									
								
								explain.json
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								explain.json
									
									
									
									
									
								
							| @@ -4,17 +4,17 @@ | ||||
|     "secret" : "|Erp--Wjgb)+eiB/|H=|V7!#+M|L{a8=J2|pd+N1=M|&pJWq|M&,f3q^XS", | ||||
|  | ||||
|     "database" : { | ||||
|         "dsn"      : "dbi:Pg:database=explain;host=127.0.0.1;port=5432", | ||||
|         "username" : "explain", | ||||
|         "password" : "explain", | ||||
|         "dsn"      : "dbi:Pg:database=depesz_explain;host=127.0.0.1;port=5900", | ||||
|         "username" : "depesz_explain", | ||||
|         "options"  : { | ||||
|             "auto_commit" : 1 | ||||
|             "auto_commit" : 1, | ||||
|             "pg_server_prepare" : 0 | ||||
|         } | ||||
|     }, | ||||
|  | ||||
|     "mail_sender" : { | ||||
|         "from"    : "explain.depesz.com <depesz@depesz.com>", | ||||
|         "to"      : "metys <lukasz.metys.lewandowski@gmail.com>", | ||||
|         "to"      : "metys <depesz@depesz.com>", | ||||
|         "subject" : "Message from: explain.depesz.com/contact" | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| { | ||||
|   listen  => [ 'http://*:3020' ], | ||||
|   workers => 4, | ||||
|   pid_file => '/home/depesz/sites/explain.depesz.com.pid', | ||||
|     listen => [ 'http://*:12004' ], | ||||
|     workers => 2, | ||||
|     pid_file => '/home/depesz/sites/explain.depesz.com.pid', | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user