blob: f75c7598b00515805188b4791a46f5816deef030 [file] [log] [blame]
#!/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} \
postgres:11.12