fix makefile
This commit is contained in:
parent
f45103fc3f
commit
73b34ff7b0
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
COMPOSE_CMD ?= docker compose
|
||||
# use unix:///run/docker.sock for docker socket, unix://${XDG_RUNTIME_DIR}/podman/podman.sock for podman
|
||||
DOCKER_HOST ?= unix:///run/docker.sock
|
||||
COMPOSE = DOCKER_HOST=$(DOCKER_HOST) $(COMPOSE_CMD)
|
||||
COMPOSE := DOCKER_HOST=$(DOCKER_HOST) $(COMPOSE_CMD)
|
||||
|
||||
psql:
|
||||
$(COMPOSE) exec inventree-db sh -c 'psql $$POSTGRES_USER $$POSTGRES_DB'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue