_____ _ _ _ ____ _ _
| ___(_)_ __ __ _| | |_ _ | _ \ ___ __| |_ __ __ _ ___ ___| |
| |_ | | '_ \ / _` | | | | | || |_) / _ \/ _` | '__/ _` / __|/ _ \ |
| _| | | | | | (_| | | | |_| || __/ __/ (_| | | | (_| \__ \ __/ |
|_| |_|_| |_|\__,_|_|_|\__, ||_| \___|\__,_|_| \__, |___/\___|_|
|___/ |___/
Ready-to-use PostgreSQL development environment with Docker. Simple setup, smart defaults, and comprehensive management commands.
make setup
Edit .env
file to change database credentials and other settings.
Default credentials are already set after running
make setup
nano/vim/code .env
Start PostgreSQL container
$ make start
and that's it!
$ make help
Available commands:
make setup - Create necessary directories
make start - Start PostgreSQL container
make stop - Stop PostgreSQL container
make restart - Restart PostgreSQL container
make reload - Reload PostgreSQL container (down and up)
make status - Check container status
make logs - Show container logs
make health-check - Check PostgreSQL health
make clean - Remove container and volumes
make backup - Backup PostgreSQL database
make restore - Restore PostgreSQL database from backup
make ps - List running containers