This project runs PostgreSQL in Docker and exposes it on your machine.
cp .env.example .envEdit .env and set a strong POSTGRES_PASSWORD.
docker compose up -d --builddocker compose ps
docker compose logs -f postgres- Host:
localhost - Port: value of
POSTGRES_PORT(default5432) - Database: value of
POSTGRES_DB - User: value of
POSTGRES_USER - Password: value of
POSTGRES_PASSWORD
Example:
psql "postgresql://hemas_user:change_me@localhost:5432/hemas_db"