allow specifying secrets via env
All checks were successful
/ build-container (push) Successful in 1m49s

This commit is contained in:
Finn 2024-10-20 21:54:22 -07:00
parent e58fbcba5c
commit fae2a30a6d

View file

@ -53,6 +53,12 @@ func Load() error {
} }
} }
// someday i'll bring a proper config library, until then you get this
matrixPassword := os.Getenv("MATRIX_PASSWORD")
if matrixPassword != "" {
C.Matrix.Password = matrixPassword
}
return nil return nil
} }