From 2d63424d87f29c14593b194855efc0800b850406 Mon Sep 17 00:00:00 2001 From: Oliver Caldwell Date: Fri, 31 May 2024 22:24:57 +0100 Subject: [PATCH] Add a script to start a local docker psql server --- dev/sql/pg-docker.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 dev/sql/pg-docker.sh diff --git a/dev/sql/pg-docker.sh b/dev/sql/pg-docker.sh new file mode 100755 index 00000000..3e67d0e4 --- /dev/null +++ b/dev/sql/pg-docker.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +docker run \ + --name conjure_postgres_db \ + --rm \ + -p 5432:5432 \ + -e POSTGRES_USER=postgres \ + -e POSTGRES_PASSWORD=postgres \ + -e POSTGRES_DB=postgres \ + postgres