Add Make target to spawn PostgreSQL debug instance

This commit is contained in:
eikendev 2023-07-15 19:25:21 +02:00
parent 77603a5c96
commit 833e666c37
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
2 changed files with 11 additions and 0 deletions

View file

@ -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
postgres-debug.env Normal file
View file

@ -0,0 +1,3 @@
POSTGRES_PASSWORD=pushbits
POSTGRES_USER=pushbits
POSTGRES_DB=pushbits