mirror of
https://github.com/simstudioai/sim.git
synced 2026-09-24 15:45:35 +08:00
fix(docker): added pgvector image to docker builds, modified push to migrate to ameliorate vector data type issue (#452)
* added pgvector image to docker builds, modified push to migrate to ameliorate vector data type issue * added zod and t3-ss/env-nextjs to minimal set of dependencies for db image * added healthcheck to docker services
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simstudio",
|
||||
"version": "0.1.17",
|
||||
"version": "0.1.18",
|
||||
"description": "Sim Studio CLI - Run Sim Studio with a single command",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
|
||||
@@ -101,7 +101,7 @@ async function main() {
|
||||
if (options.pull) {
|
||||
await pullImage('ghcr.io/simstudioai/simstudio:latest')
|
||||
await pullImage('ghcr.io/simstudioai/migrations:latest')
|
||||
await pullImage('postgres:17-alpine')
|
||||
await pullImage('pgvector/pgvector:pg17')
|
||||
}
|
||||
|
||||
// Ensure Docker network exists
|
||||
@@ -144,7 +144,7 @@ async function main() {
|
||||
`${dataDir}/postgres:/var/lib/postgresql/data`,
|
||||
'-p',
|
||||
'5432:5432',
|
||||
'postgres:17-alpine',
|
||||
'pgvector/pgvector:pg17',
|
||||
])
|
||||
|
||||
if (!dbSuccess) {
|
||||
|
||||
Reference in New Issue
Block a user