icon

postgres-ssl

Postgres image with SSL enabled right out of the box.

template cover
Deployed2 times
PublisherAffix9132
Created2025-09-24
Services
service icon
Tags
Database

A powerful, open source object-relational database.

This image is based on zeabur/postgres-ssl with some modification. Thanks a lot to them!

Configuration

You can configure PostgreSQL by editing the file /etc/postgresql/postgresql.conf with Config Editor. We have pre-configured some of the essential settings for you.

Certificate expiry

By default, the cert expiry is set to 820 days. You can control this by configuring the SSL_CERT_DAYS environment variable as needed.

Certificate renewal

When a redeploy or restart is done the certificates expiry is checked, if it has expired or will expire in 30 days a new certificate is automatically generated.

Connection

The "Instruction" section contains the root username, password, and the default database of your PostgreSQL instance. It also provides the connection string and command for you to connect from outside.