Skip to content

Commit ac1b7fc

Browse files
authored
Merge pull request #68 from constructive-io/devin/1774056460-update-docker-image
fix: update Docker image refs from pyramation/postgres:17 to constructiveio/postgres-plus:18
2 parents eaab2a3 + 6d47bad commit ac1b7fc

8 files changed

Lines changed: 14 additions & 14 deletions

File tree

.agents/skills/constructive-ai/references/ollama-ci.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959

6060
services:
6161
pg_db:
62-
image: pyramation/postgres:17
62+
image: docker.io/constructiveio/postgres-plus:18
6363
env:
6464
POSTGRES_USER: postgres
6565
POSTGRES_PASSWORD: password
@@ -146,7 +146,7 @@ Use the Constructive PostgreSQL image with pgvector and other extensions:
146146
```yaml
147147
services:
148148
pg_db:
149-
image: pyramation/postgres:17
149+
image: docker.io/constructiveio/postgres-plus:18
150150
env:
151151
POSTGRES_USER: postgres
152152
POSTGRES_PASSWORD: password
@@ -178,7 +178,7 @@ services:
178178
```
179179
180180
Available images:
181-
- `pyramation/postgres:17` - PostgreSQL 17 with pgvector (recommended)
181+
- `docker.io/constructiveio/postgres-plus:18` - PostgreSQL 17 with pgvector (recommended)
182182
- `ghcr.io/constructive-io/docker/postgres-plus:17` - PostgreSQL 17 with pgvector and additional extensions
183183

184184
### Ollama Service
@@ -339,7 +339,7 @@ jobs:
339339
340340
services:
341341
postgres:
342-
image: pyramation/postgres:17
342+
image: docker.io/constructiveio/postgres-plus:18
343343
env:
344344
POSTGRES_USER: postgres
345345
POSTGRES_PASSWORD: password

.agents/skills/constructive-ai/references/pgvector-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Use this reference when you need raw SQL for pgvector — e.g., custom migration
88

99
## SQL: Enable pgvector Extension
1010

11-
pgvector is pre-enabled in the Constructive database stack (`pyramation/postgres:17`). If using a standalone PostgreSQL instance:
11+
pgvector is pre-enabled in the Constructive database stack (`docker.io/constructiveio/postgres-plus:18`). If using a standalone PostgreSQL instance:
1212

1313
```sql
1414
-- SQL
@@ -324,7 +324,7 @@ my-vectors/
324324

325325
| Issue | Quick Fix |
326326
|-------|-----------|
327-
| "type vector does not exist" | pgvector extension not installed; use `pyramation/postgres:17` image |
327+
| "type vector does not exist" | pgvector extension not installed; use `docker.io/constructiveio/postgres-plus:18` image |
328328
| Dimension mismatch | Ensure `VECTOR(N)` matches model output dimensions |
329329
| No results returned | Lower similarity threshold |
330330
| Slow queries | Add HNSW or IVFFlat index |

.agents/skills/constructive-ai/references/rag-pipeline.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async function getContext(question: string): Promise<string> {
416416

417417
| Issue | Solution |
418418
|-------|----------|
419-
| "type vector does not exist" | Use pgvector-enabled image (`pyramation/postgres:17`) |
419+
| "type vector does not exist" | Use pgvector-enabled image (`docker.io/constructiveio/postgres-plus:18`) |
420420
| Irrelevant RAG responses | Lower similarity threshold, improve chunking |
421421
| Hallucinations | Add "only use provided context" to prompt |
422422
| Slow responses | Use streaming, reduce context chunk count |

.agents/skills/constructive-ai/scripts/setup-rag-database.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ echo "Setting up RAG database..." >&2
1010
# Configuration with defaults
1111
RAG_DATABASE="${RAG_DATABASE:-rag_dev}"
1212
RAG_SCHEMA="${RAG_SCHEMA:-intelligence}"
13-
PGPM_IMAGE="${PGPM_IMAGE:-pyramation/postgres:17}"
13+
PGPM_IMAGE="${PGPM_IMAGE:-docker.io/constructiveio/postgres-plus:18}"
1414

1515
# Check if pgpm is available
1616
if ! command -v pgpm &> /dev/null; then

.agents/skills/constructive/references/deployment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ docker-compose -f docker-compose.jobs.yml up -d
8585
| Image | Use Case |
8686
|-------|----------|
8787
| `ghcr.io/constructive-io/docker/postgres-plus:17` | **Recommended** — includes all extensions needed by constructive |
88-
| `pyramation/postgres:17` | Lightweight alternative with common extensions |
88+
| `docker.io/constructiveio/postgres-plus:18` | Lightweight alternative with common extensions |
8989

9090
**PostgreSQL 17+ is required** for `security_invoker` views. Older images will fail with "unrecognized parameter security_invoker" errors.
9191

@@ -210,7 +210,7 @@ All Docker Compose services share the `constructive-net` network, allowing inter
210210
| Issue | Cause | Fix |
211211
|-------|-------|-----|
212212
| Port 5432 in use | Another Postgres instance running | Stop it or change the port in `docker-compose.yml` |
213-
| `security_invoker` error | Postgres version < 17 | Use `postgres-plus:17` or `pyramation/postgres:17` image |
213+
| `security_invoker` error | Postgres version < 17 | Use `postgres-plus:17` or `docker.io/constructiveio/postgres-plus:18` image |
214214
| `role "authenticated" does not exist` | Missing bootstrap | Run `pgpm admin-users bootstrap --yes` |
215215
| Container not on network | Network mismatch | Check `docker network ls` for `constructive-net` |
216216
| Build fails at `pnpm install` | Lockfile mismatch | Run `pnpm install` locally first to update lockfile |

.agents/skills/pgpm/references/ci-cd.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ For simpler setups without custom extensions:
5050
```yaml
5151
services:
5252
pg_db:
53-
image: pyramation/postgres:17
53+
image: docker.io/constructiveio/postgres-plus:18
5454
env:
5555
POSTGRES_USER: postgres
5656
POSTGRES_PASSWORD: password

.agents/skills/pgpm/references/docker.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Start a PostgreSQL Docker container.
5353
| Option | Description | Default |
5454
|--------|-------------|---------|
5555
| `--name <name>` | Container name | `postgres` |
56-
| `--image <image>` | Docker image | `pyramation/postgres:17` |
56+
| `--image <image>` | Docker image | `docker.io/constructiveio/postgres-plus:18` |
5757
| `--port <port>` | Host port mapping | `5432` |
5858
| `--user <user>` | PostgreSQL user | `postgres` |
5959
| `--password <pass>` | PostgreSQL password | `password` |
@@ -104,7 +104,7 @@ pgpm docker start --name test-db --port 5433
104104

105105
## PostgreSQL Version
106106

107-
The default image `pyramation/postgres:17` includes PostgreSQL 17 which is required for:
107+
The default image `docker.io/constructiveio/postgres-plus:18` includes PostgreSQL 17 which is required for:
108108
- `security_invoker` views
109109
- Latest PostgreSQL features used by Constructive
110110

.agents/skills/pgpm/references/extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,6 @@ cat packages/my-module/my-module.control
192192
| Issue | Cause | Fix |
193193
|-------|-------|-----|
194194
| `extension "pgpm-foo" is not available` | Module not installed in `extensions/` | Run `pgpm install @pgpm/foo` |
195-
| `extension "uuid-ossp" is not available` | Postgres image missing the extension | Use `pyramation/postgres:17` or `postgres-plus:17` image |
195+
| `extension "uuid-ossp" is not available` | Postgres image missing the extension | Use `docker.io/constructiveio/postgres-plus:18` or `postgres-plus:17` image |
196196
| Deploy creates extension twice | You wrote `CREATE EXTENSION` in a deploy script | Remove it — pgpm handles this automatically |
197197
| Wrong name in requires | Used npm name instead of control name | Use control name (e.g., `pgpm-base32` not `@pgpm/base32`) |

0 commit comments

Comments
 (0)