Skip to content

Commit 833e666

Browse files
committed
Add Make target to spawn PostgreSQL debug instance
1 parent 77603a5 commit 833e666

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,11 @@ docker_build_dev:
5858
podman build \
5959
--build-arg=PB_BUILD_VERSION=dev \
6060
-t local/pushbits .
61+
62+
.PHONY: run_postgres_debug
63+
podman run \
64+
--rm \
65+
--name=postgres \
66+
--network=host \
67+
--env-file \
68+
postgres-debug.env docker.io/library/postgres:15

postgres-debug.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
POSTGRES_PASSWORD=pushbits
2+
POSTGRES_USER=pushbits
3+
POSTGRES_DB=pushbits

0 commit comments

Comments
 (0)