From d321083188f1e58acc3a99cc3b4f2c73d21dd97f Mon Sep 17 00:00:00 2001 From: Marko Budiselic Date: Tue, 6 Feb 2024 13:42:57 +0100 Subject: [PATCH] Add run local postgres --- run_local_pg | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 run_local_pg diff --git a/run_local_pg b/run_local_pg new file mode 100755 index 0000000..f874ffd --- /dev/null +++ b/run_local_pg @@ -0,0 +1,4 @@ +#!/bin/bash + +docker volume create pgdata +docker run --name postgres -e POSTGRES_PASSWORD=pass -p 5433:5432 -v pgdata:/var/lib/postgresql/data -d postgres