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 f2fe062 commit b65a5cfCopy full SHA for b65a5cf
pgml-extension/docker/entrypoint.sh
@@ -15,6 +15,15 @@ echo "Creating user and database..."
15
echo "Installing pgml extension..."
16
psql -U postgres -h 127.0.0.1 pgml_development -f sql/setup_examples.sql -P pager
17
18
+
19
+if [ -d "/docker-entrypoint-initdb.d" ]; then
20
+echo "Running custom scripts..."
21
+for f in /docker-entrypoint-initdb.d/*.sql; do
22
+ echo "Running custom script ${f}"
23
+ psql -U postgres -h 127.0.0.1 pgml_development -f "${f}"
24
+done
25
+fi
26
27
echo "Installing pgvector.. "
28
psql -U postgres -h 127.0.0.1 pgml_development -c 'CREATE EXTENSION vector'
29
0 commit comments