feat: connect to psql
from within docker container instead of users localhost
This commit is contained in:
parent
7f1e057ea2
commit
9f6fe5f0b7
4
Makefile
4
Makefile
@ -1,12 +1,12 @@
|
||||
# Connect to the primary database
|
||||
.PHONY: db
|
||||
db:
|
||||
psql postgresql://admin:admin@localhost:5432/app
|
||||
docker compose exec -it db psql postgresql://admin:admin@localhost:5432/app
|
||||
|
||||
# Connect to the test database
|
||||
.PHONY: db-test
|
||||
db-test:
|
||||
psql postgresql://admin:admin@localhost:5432/app_test
|
||||
docker compose exec -it db psql postgresql://admin:admin@localhost:5432/app_test
|
||||
|
||||
# Connect to the primary cache
|
||||
.PHONY: cache
|
||||
|
Loading…
Reference in New Issue
Block a user