docker compose commands

This commit is contained in:
Xi Yan 2024-11-08 14:00:54 -08:00
parent bd0622ef10
commit 8cd7e406c0
9 changed files with 129 additions and 0 deletions

View 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