mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(cli/server.go): switch to alternate maven repo for postgres binaries (#17451)
Not really guaranteed, but worth a shot. --------- Co-authored-by: Danny Kopping <danny@coder.com>
This commit is contained in:
co-authored by
Danny Kopping
parent
56ee5d8f1b
commit
444bd6a212
@@ -24,6 +24,8 @@ func main() {
|
||||
embeddedpostgres.DefaultConfig().
|
||||
Version(embeddedpostgres.V16).
|
||||
BinariesPath(filepath.Join(postgresPath, "bin")).
|
||||
// Default BinaryRepositoryURL repo1.maven.org is flaky.
|
||||
BinaryRepositoryURL("https://repo.maven.apache.org/maven2").
|
||||
DataPath(filepath.Join(postgresPath, "data")).
|
||||
RuntimePath(filepath.Join(postgresPath, "runtime")).
|
||||
CachePath(filepath.Join(postgresPath, "cache")).
|
||||
|
||||
Reference in New Issue
Block a user