From 790ee5d3f477e6a6c59c94fa7ecb57d208ce4ae0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 31 Jan 2024 11:45:43 +0100 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index 442360c52..7301ddae6 100755 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -29,25 +29,6 @@ chmod 777 "$PGDATA" # Permissions chmod -R 777 "$CONFIG_HOME" -##################### -# Prepare vector.rs # -##################### - -# Set variables for vector.rs -DB_PORT=5432 -DB_HOSTNAME=localhost -DB_PASSWORD="$(bashio::config 'POSTGRES_PASSWORD')" -DB_USERNAME=postgres -if bashio::config.has_value "POSTGRES_USER"; then POSTGRES_USER="$(bashio::config "POSTGRES_USER")"; else POSTGRES_USER=postgres; fi - -export DB_PORT -export DB_HOSTNAME -export DB_USERNAME -export DB_PASSWORD -echo "DROP EXTENSION IF EXISTS vectors; - CREATE EXTENSION vectors; -\q"> setup_postgres.sql - ############## # Launch App # ##############