blob: 36f6a4dbecc2fa446f4cde1b093f3aba25970ca3 [file]
#!/usr/bin/env -S bash -e
# Copyright 2021 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
docker run -d -p 5432:5432 --name local-postgres \
-e LANG=C \
-e POSTGRES_DB=${GO_DISCOVERY_DATABASE_NAME:-discovery-db} \
-e POSTGRES_USER=${GO_DISCOVERY_DATABASE_USER:-postgres} \
-e POSTGRES_PASSWORD=${GO_DISCOVERY_DATABASE_PASSWORD:-postgres} \
pgvector/pgvector:pg14