X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=config.pm;h=3a57206699b88baefe47dcbd8d30ec672af10b15;hb=a0290e9de747b7811e8403b6e7ea80ba5d96cd71;hp=b169e07621df5d2415e2c7241be0a7c899bfd8e9;hpb=bab294aea3bf5ed4832a31854dafee2bc364c565;p=remoteglot diff --git a/config.pm b/config.pm index b169e07..3a57206 100644 --- 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; };