From 8d5ee0c130bcfaec98f14e8e4172045d095d580e Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Wed, 15 Apr 2020 01:21:54 +0200 Subject: [PATCH] Fix postgresql setup files --- .idea/runConfigurations/Start_Elasticsearch.xml | 16 ++++++++++++++++ docker/postgresql/extension.sh | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .idea/runConfigurations/Start_Elasticsearch.xml diff --git a/.idea/runConfigurations/Start_Elasticsearch.xml b/.idea/runConfigurations/Start_Elasticsearch.xml new file mode 100644 index 0000000..09a1592 --- /dev/null +++ b/.idea/runConfigurations/Start_Elasticsearch.xml @@ -0,0 +1,16 @@ + + + + + + + + + + \ No newline at end of file diff --git a/docker/postgresql/extension.sh b/docker/postgresql/extension.sh index d72b980..ad710e3 100755 --- a/docker/postgresql/extension.sh +++ b/docker/postgresql/extension.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash set -e psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL