Dokploy

Postgresus

Deprecated: the project was renamed to Databasus, use the Databasus template instead. Free, open source and self-hosted solution for automated PostgreSQL backups, frozen at its final release

Postgresus logo

Configuration

services:
  postgresus:
    # Postgresus was renamed upstream to Databasus (https://github.com/databasus/databasus).
    # This image is frozen at its final release; use the "databasus" template for new deployments.
    image: rostislavdugin/postgresus:v2.15.3
    ports:
      - "4005"
    volumes:
      # Persistent data storage
      - postgresus-data:/postgresus-data
    restart: unless-stopped
    environment:
      # Optional: Set timezone
      - TZ=UTC
    healthcheck:
      test: [ "CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:4005" ]
      interval: 30s
      timeout: 10s
      retries: 3
      start_period: 40s

volumes:
  postgresus-data:
    driver: local
[variables]
main_domain = "${domain}"

[config]
env = []
mounts = []

[[config.domains]]
serviceName = "postgresus"
port = 4005
host = "${main_domain}"

Base64

To import this template in Dokploy: create a Compose service → AdvancedBase64 import and paste the content below:

ewogICJjb21wb3NlIjogInNlcnZpY2VzOlxuICBwb3N0Z3Jlc3VzOlxuICAgICMgUG9zdGdyZXN1cyB3YXMgcmVuYW1lZCB1cHN0cmVhbSB0byBEYXRhYmFzdXMgKGh0dHBzOi8vZ2l0aHViLmNvbS9kYXRhYmFzdXMvZGF0YWJhc3VzKS5cbiAgICAjIFRoaXMgaW1hZ2UgaXMgZnJvemVuIGF0IGl0cyBmaW5hbCByZWxlYXNlOyB1c2UgdGhlIFwiZGF0YWJhc3VzXCIgdGVtcGxhdGUgZm9yIG5ldyBkZXBsb3ltZW50cy5cbiAgICBpbWFnZTogcm9zdGlzbGF2ZHVnaW4vcG9zdGdyZXN1czp2Mi4xNS4zXG4gICAgcG9ydHM6XG4gICAgICAtIFwiNDAwNVwiXG4gICAgdm9sdW1lczpcbiAgICAgICMgUGVyc2lzdGVudCBkYXRhIHN0b3JhZ2VcbiAgICAgIC0gcG9zdGdyZXN1cy1kYXRhOi9wb3N0Z3Jlc3VzLWRhdGFcbiAgICByZXN0YXJ0OiB1bmx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