Specify host for database connections
[hcoop/portal.git] / config.sml
index bb09703..9fce4a6 100644 (file)
@@ -1,10 +1,16 @@
 structure Config :> CONFIG = struct
 
-val scratchDir = "/home/hcoop"
+val scratchDir = "/afs/hcoop.net/user/h/hc/hcoop"
 val urlPrefix = "https://members.hcoop.net/portal/"
 val emailSuffix = "@hcoop.net"
 val boardEmail = "board" ^ emailSuffix
 
-val dbstring = "dbname='hcoop_hcoop'"
+val dbstring = "dbname='hcoop_hcoop' user='www-data' host='postgres'"
+
+val kerberosSuffix = "@HCOOP.NET"
+                    
+val passwordFiles = "/var/lib/portal/"
+
+val passgenDbstring = "dbname='passgen' user='www-data' host='postgres'"
 
 end