Back to registry

PostgreSQL

An open-source relational database known for reliability and advanced features.

database

Usage

dockup.config.ts
import { defineConfig } from 'dockup/config';
import { postgresql } from 'dockup/services';

export default defineConfig({
  services: [
    postgresql()
  ],
});

Metadata

This service automatically exposes metadata.

dockup metadata
Connection URL: postgres://user:password@localhost:5432/database

Can be used to connect to the database

The above are the metadata generated when using this service with the default options.

Options

PropTypeDefault
port?
number
5432
database?
string
"database"
user?
string
"user"
password?
string
"password"
name?
string
-
image?
string
-
extend?
((service: ContainerService) => ContainerService)
-