PostgreSQL

PostgreSQL database server

5432
Default Port
1
Services
10.0/20
Complexity
Low
Memory Usage
Configuration

Installation Command

blastdock init postgresql

Template Overview

Everything you need to deploy Postgresql with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Postgresql
postgres:15
Categories
Database
Security Features
Password Protection
Resource Requirements
CPU: Low, Memory: Low , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Postgresql up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Postgresql with:

Terminal
blastdock init postgresql

Interactive mode:

Terminal
blastdock init postgresql -i

What's Included

Postgresql
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Postgresql installation with these configuration options.

4
Required Fields
0
Optional Fields
1
Auto-Generated Passwords

Postgres Port

PostgreSQL port

port
Default: 5432
Required: Yes

Postgres Password

PostgreSQL password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Postgres User

PostgreSQL user

string
Default: postgres
Required: Yes

Postgres Db

Initial database name

database_name
Default: postgres
Required: Yes

Docker Compose

Complete Docker Compose configuration for Postgresql deployment.

1
Services
1
Volumes
1
Networks
1
Exposed Ports
docker-compose.yml
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