mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-15 22:47:59 +00:00
docker compose commands
This commit is contained in:
parent
bd0622ef10
commit
8cd7e406c0
9 changed files with 129 additions and 0 deletions
14
docker/pgvector/postgres/0-vector-extension.sh
Executable file
14
docker/pgvector/postgres/0-vector-extension.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
||||
# All rights reserved.
|
||||
#
|
||||
# This source code is licensed under the terms described in the LICENSE file in
|
||||
# the root directory of this source tree.
|
||||
|
||||
set -e
|
||||
|
||||
echo "In create extension"
|
||||
|
||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname="$POSTGRES_DB" <<EOFSQL
|
||||
CREATE EXTENSION vector;
|
||||
EOFSQL
|
Loading…
Add table
Add a link
Reference in a new issue