Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(service): add PG Back Web service (#5079)

Eugene Scheepersfe69a70d19a4
diff --git a/public/svgs/pgbackweb.png b/public/svgs/pgbackweb.png
new file mode 100644
index 0000000000..6c76c80754
Binary files /dev/null and b/public/svgs/pgbackweb.png differ
diff --git a/templates/compose/pgbackweb.yaml b/templates/compose/pgbackweb.yaml
new file mode 100644
index 0000000000..67701814ac
--- /dev/null
+++ b/templates/compose/pgbackweb.yaml
@@ -0,0 +1,36 @@
+# documentation: https://github.com/eduardolat/pgbackweb
+# slogan: Effortless PostgreSQL backups with a user-friendly web interface!
+# tags: backup, postgresql, web-interface
+# logo: svgs/pgbackweb.svg
+# port: 8085
+services:
+ pgbackweb:
+ image: eduardolat/pgbackweb:latest
+ volumes:
+ - pgbackweb_backups:/backups
+ environment:
+ - SERVICE_FQDN_PGBACKWEB_8085
+ - PBW_ENCRYPTION_KEY=${SERVICE_PASSWORD_64_PGBACKWEB}
+ - PBW_POSTGRES_CONN_STRING=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_POSTGRES}@postgres:5432/pgbackweb?sslmode=disable
+ - TZ=${TIME_ZONE:-UTC}
+ depends_on:
+ postgres:
+ condition: service_healthy
+ exclude_from_hc: true
+ postgres:
+ image: postgres:17
+ environment:
+ - POSTGRES_USER=${SERVICE_USER_POSTGRES}
+ - POSTGRES_DB=pgbackweb
+ - POSTGRES_PASSWORD=${SERVICE_PASSWORD_POSTGRES}
+ volumes:
+ - postgres_data:/var/lib/postgresql/data
+ healthcheck:
+ test: ["CMD-SHELL", "pg_isready -U ${SERVICE_USER_POSTGRES} -d pgbackweb"]
+ interval: 5s
+ timeout: 5s
+ retries: 5
+
+volumes:
+ postgres_data:
+ pgbackweb_backups: