Skip to content

Commit

Permalink
OPS-350: PGVector Enable (#144)
Browse files Browse the repository at this point in the history
* OPS-350: PGVector Enable

* OPS-350: condition execution pg:superuser:bootstrap on script existence

* Updated docker-compose.yml to add the new plextrac postgres image

* Corrected new postgres image name

* Reflecting the image change for Podman users

* Version bump

---------

Co-authored-by: Michael Burke <michael@plextrac.com>
Co-authored-by: Michael Burke <72173919+Michael-Burke@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 16, 2024
1 parent 9df840d commit 546304a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.7.2
current_version = 0.7.4

commit = True
tag = True
Expand Down
2 changes: 1 addition & 1 deletion src/_podman.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function plextrac_install_podman() {
var=$(declare -p "$1")
eval "declare -A serviceValues="${var#*=}
PODMAN_CB_IMAGE="${PODMAN_CB_IMAGE:-docker.io/plextrac/plextracdb:7.2.0}"
PODMAN_PG_IMAGE="${PODMAN_PG_IMAGE:-docker.io/postgres:14-alpine}"
PODMAN_PG_IMAGE="${PODMAN_PG_IMAGE:-docker.io/plextracpostgres:stable}"
PODMAN_REDIS_IMAGE="${PODMAN_REDIS_IMAGE:-docker.io/redis:6.2-alpine}"
PODMAN_API_IMAGE="${PODMAN_API_IMAGE:-docker.io/plextrac/plextracapi:${UPGRADE_STRATEGY:-stable}}"
PODMAN_NGINX_IMAGE="${PODMAN_NGINX_IMAGE:-docker.io/plextrac/plextracnginx:${UPGRADE_STRATEGY:-stable}}"
Expand Down
2 changes: 1 addition & 1 deletion src/plextrac
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -Eeuo pipefail

VERSION=0.7.3
VERSION=0.7.4

## Podman Global Declaration Variable
declare -A svcValues
Expand Down
3 changes: 2 additions & 1 deletion static/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ services:
command: |
sh -c
"npm run maintenance:enable &&
npm run pg:superuser:bootstrap --if-present &&
npm run pg:migrate &&
npm run db:migrate &&
npm run pg:etl up all &&
Expand Down Expand Up @@ -263,7 +264,7 @@ services:
timeout: 30s

postgres:
image: postgres:14-alpine
image: plextrac/plextracpostgres:stable
environment:
PGDATA: /var/lib/postgresql/data/pgdata
PG_CORE_ADMIN_PASSWORD: ${PG_CORE_ADMIN_PASSWORD:?err}
Expand Down

0 comments on commit 546304a

Please sign in to comment.