PostgreSQL database server
Everything you need to deploy Postgresql with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Postgresql up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Postgresql with:
blastdock init postgresql
Interactive mode:
blastdock init postgresql -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Postgresql installation with these configuration options.
PostgreSQL port
PostgreSQL password
PostgreSQL user
Initial database name
Complete Docker Compose configuration for Postgresql deployment.
version: '3.8'
services:
postgresql:
image: postgres:15
container_name: {{ project_name }}_postgresql
restart: unless-stopped
ports:
- "5432"
environment:
POSTGRES_USER: {{ postgres_user }}
POSTGRES_PASSWORD: {{ postgres_password }}
POSTGRES_DB: {{ postgres_db }}
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- /var/lib/postgresql/data
- /var/log/postgresql
networks:
- postgres_network
volumes:
postgres_data:
driver: local
networks:
postgres_network:
driver: bridge