# Postgres with pgvector

> Postgres with the pgvector extension for embeddings and similarity search.

Postgres with the pgvector extension for embeddings and similarity search.

The Postgres template with the pgvector image: the same backups, point-in-time restore and settings. Run CREATE EXTENSION vector, or Enable it in the Data tab.

## Deploy

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

## Services it creates

| Service | Image | Volume | Public domain |
|---|---|---|---|
| Postgres | `pgvector/pgvector:0.8.7-pg17-bookworm` | `/var/lib/postgresql/data` | no |

## Inputs

None.

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

## Next steps

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