]> git.sesse.net Git - remoteglot/blobdiff - config.pm
Remove an obsolete comment.
[remoteglot] / config.pm
index b169e07621df5d2415e2c7241be0a7c899bfd8e9..3a57206699b88baefe47dcbd8d30ec672af10b15 100644 (file)
--- a/config.pm
+++ b/config.pm
@@ -66,6 +66,12 @@ our @masters = (
 # you probably need specific prior permission to use this.
 our $tb_serial_key = undef;
 
+# Postgres configuration.
+our $dbistr = "dbi:Pg:dbname=remoteglot";
+our $dbiuser = undef;
+our $dbipass = undef;
+
 eval {
-       require 'config.local.pm';
+       my $config_filename = $ENV{'REMOTEGLOT_CONFIG'} // 'config.local.pm';
+       require $config_filename;
 };