diff --git a/cmd/xmtpd/main.go b/cmd/xmtpd/main.go index c26364a5..560f7791 100644 --- a/cmd/xmtpd/main.go +++ b/cmd/xmtpd/main.go @@ -36,6 +36,10 @@ func addEnvVars() { options.Store.DbReaderConnectionString = connStr } + if connStr, hasConnstr := os.LookupEnv("MLS_DB_CONNECTION_STRING"); hasConnstr { + options.MLSStore.DbConnectionString = connStr + } + if connStr, hasConnstr := os.LookupEnv("AUTHZ_DB_CONNECTION_STRING"); hasConnstr { options.Authz.DbConnectionString = connStr }