1+ postgresql,postgis docker container with pgvector added
2+
13# Deploy
24
35[ ![ Docker] ( https://github.com/gvkhna/postgis-vector/actions/workflows/publish.yml/badge.svg?branch=main )] ( https://github.com/gvkhna/postgis-vector/actions/workflows/publish.yml )
68ghcr.io/gvkhna/postgis-vector:latest
79```
810
9- # After Deploy Initialize Extensions
10-
11- ``` sh
12- $ su - postgres
13- $ psql
14- postgres=# CREATE EXTENSION vector;
15- postgres=# CREATE EXTENSION fuzzystrmatch;
16- postgres=# CREATE EXTENSION pg_trgm;
17- postgres=# CREATE EXTENSION pg_uuidv7;
18-
19- # to verify extensions installed
20- postgres=# \dx
21- ```
22-
2311## Build
2412
2513``` sh
@@ -28,7 +16,33 @@ podman build -t postgis-vector .
2816
2917## Minimal Run
3018
31- ```
19+ ``` sh
3220podman run -it --name postgis-vector -e POSTGRES_PASSWORD=mysecretpassword -d postgis-vector
3321podman exec -it postgis-vector bash
22+
23+ # #
24+ # To verify extensions installed
25+ # #
26+ $ su - postgres
27+ $ psql
28+ postgres=# \dx
29+
30+ List of installed extensions
31+ Name | Version | Schema | Description
32+ ------------------------+---------+------------+-------------------------------------------------------------------
33+ fuzzystrmatch | 1.2 | public | determine similarities and distance between strings
34+ pg_trgm | 1.6 | public | text similarity measurement and index searching based on trigrams
35+ pg_uuidv7 | 1.5 | public | pg_uuidv7: create UUIDv7 values in postgres
36+ plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
37+ postgis | 3.4.2 | public | PostGIS geometry and geography spatial types and functions
38+ postgis_tiger_geocoder | 3.4.2 | tiger | PostGIS tiger geocoder and reverse geocoder
39+ postgis_topology | 3.4.2 | topology | PostGIS topology spatial types and functions
40+ vector | 0.6.2 | public | vector data type and ivfflat and hnsw access methods
41+ (8 rows)
42+
43+ # #
44+ # To list all available extensions
45+ # #
46+ postgres=# select * from pg_available_extensions;
47+
3448```
0 commit comments