Levelrail
Skip to content

Self-host PG Back Web with Docker ​

A web UI for scheduling, encrypting, and restoring PostgreSQL backups.

This page describes the Levelrail template for PG Back Web (Database Tools). It deploys the services below as one Docker Compose app on your own server.

Project site: https://github.com/eduardolat/pgbackweb.

Recommended memory: about 256 MiB.

Services, ports and volumes ​

ServiceImageContainer portsVolumes
pgbackwebeduardolat/pgbackweb:0.5.28085
pgbackweb_data -> /backups
pgbackweb-dbpostgres:17-alpinenone
pgbackweb_postgres_data -> /var/lib/postgresql/data

Environment variables ​

ServiceVariableValue
pgbackwebPBW_ENCRYPTION_KEYGenerated at deploy
pgbackwebPBW_POSTGRES_CONN_STRINGGenerated at deploy
pgbackweb-dbPOSTGRES_DBPreset in the template
pgbackweb-dbPOSTGRES_PASSWORDGenerated at deploy
pgbackweb-dbPOSTGRES_USERPreset in the template

Passwords and keys marked as generated are created for you when the app is deployed and stored as secrets. Values are not shown here.

Deploy PG Back Web with Levelrail ​

In the dashboard, open Apps, choose New app, then Browse templates, and select PG Back Web. Review the Compose body and deploy.

With the CLI:

levelrail-cli templates deploy pgbackweb --name my-pgbackweb

See Service template catalog for how templates work, and Getting started if you have not installed Levelrail yet.

More Database Tools templates ​

All templates are listed in the self-host gallery.

Released under the Apache 2.0 License.