We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b05a56 commit 61cc285Copy full SHA for 61cc285
docker/entrypoint.sh
@@ -13,6 +13,9 @@ sudo -u postgres psql -c "CREATE ROLE postgresml PASSWORD 'postgresml' SUPERUSER
13
sudo -u postgres createdb postgresml --owner postgresml 2> /dev/null 1>&2
14
sudo -u postgres psql -c 'ALTER ROLE postgresml SET search_path TO public,pgml' 2> /dev/null 1>&2
15
16
+# Create the vector extension
17
+sudo -u postgres psql -c 'CREATE EXTENSION vector' 2> /dev/null 1>&2
18
+
19
echo "Starting dashboard"
20
PGPASSWORD=postgresml psql -c 'CREATE EXTENSION IF NOT EXISTS pgml' \
21
-d postgresml \
0 commit comments