mirror of
https://github.com/pushbits/server.git
synced 2025-04-29 10:16:50 +02:00
Add Make target to spawn PostgreSQL debug instance
This commit is contained in:
parent
77603a5c96
commit
833e666c37
2 changed files with 11 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -58,3 +58,11 @@ docker_build_dev:
|
||||||
podman build \
|
podman build \
|
||||||
--build-arg=PB_BUILD_VERSION=dev \
|
--build-arg=PB_BUILD_VERSION=dev \
|
||||||
-t local/pushbits .
|
-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
3
postgres-debug.env
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
POSTGRES_PASSWORD=pushbits
|
||||||
|
POSTGRES_USER=pushbits
|
||||||
|
POSTGRES_DB=pushbits
|
Loading…
Add table
Reference in a new issue