Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61cc285

Browse filesBrowse files
authored
Added create extension vector in the entrypoint.sh file for Docker (#1666)
1 parent 6b05a56 commit 61cc285
Copy full SHA for 61cc285

File tree

1 file changed

+3
-0
lines changed
Filter options

1 file changed

+3
-0
lines changed

‎docker/entrypoint.sh

Copy file name to clipboardExpand all lines: docker/entrypoint.sh
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ sudo -u postgres psql -c "CREATE ROLE postgresml PASSWORD 'postgresml' SUPERUSER
1313
sudo -u postgres createdb postgresml --owner postgresml 2> /dev/null 1>&2
1414
sudo -u postgres psql -c 'ALTER ROLE postgresml SET search_path TO public,pgml' 2> /dev/null 1>&2
1515

16+
# Create the vector extension
17+
sudo -u postgres psql -c 'CREATE EXTENSION vector' 2> /dev/null 1>&2
18+
1619
echo "Starting dashboard"
1720
PGPASSWORD=postgresml psql -c 'CREATE EXTENSION IF NOT EXISTS pgml' \
1821
-d postgresml \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.