# Postgres

> The open source relational database, with continuous backups and point-in-time restore.

The open source relational database, with continuous backups and point-in-time restore.

Official Postgres image with a volume, generated credentials and Railway's variable names. When a backup bucket is set, WAL-G archives every WAL segment and takes a daily base backup, so you can restore a copy to any point in time.

## Deploy

On the canvas, select **+ Create**, then **Database** or **Template**, then **Postgres**. Or run `5050 deploy --template postgres`.

## Services it creates

| Service | Image | Volume | Public domain |
|---|---|---|---|
| Postgres | `postgres:17.10-bookworm` | `/var/lib/postgresql/data` | no |

## Inputs

None.

The manifest is [templates/postgres/template.yaml](https://github.com/musakkka/5050cloud/blob/main/templates/postgres/template.yaml).

## Next steps

- [Templates reference](https://5050cloud.com/docs/reference/templates)
- [Backups and restore](https://5050cloud.com/docs/guides/backups)
