Skip to content

Commit

Permalink
Add Make target to spawn PostgreSQL debug instance
Browse files Browse the repository at this point in the history
  • Loading branch information
eikendev committed Jul 15, 2023
1 parent 77603a5 commit 833e666
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,11 @@ docker_build_dev:
podman build \
--build-arg=PB_BUILD_VERSION=dev \
-t local/pushbits .

.PHONY: run_postgres_debug
podman run \
--rm \
--name=postgres \
--network=host \
--env-file \
postgres-debug.env docker.io/library/postgres:15
3 changes: 3 additions & 0 deletions postgres-debug.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POSTGRES_PASSWORD=pushbits
POSTGRES_USER=pushbits
POSTGRES_DB=pushbits

0 comments on commit 833e666

Please sign in to comment.