From 6901d10d54c51f8e4038e6c6d850a86cecf2e885 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Sun, 31 May 2020 09:57:33 +0200 Subject: Set magic ENV varialbes for user, default DB instead of doing it ourselves --- docker/entrypoint.postgres.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'docker/entrypoint.postgres.sh') diff --git a/docker/entrypoint.postgres.sh b/docker/entrypoint.postgres.sh index be6f6782..13f6ea7d 100755 --- a/docker/entrypoint.postgres.sh +++ b/docker/entrypoint.postgres.sh @@ -10,8 +10,6 @@ if [ ! -f /var/lib/postgresql/data/setupFinished ]; then sleep 5 done >&2 echo "### importing table schemas" - su postgres -c 'createdb invidious' - su postgres -c 'psql -c "CREATE USER kemal WITH PASSWORD '"'kemal'"'"' su postgres -c 'psql invidious kemal < config/sql/channels.sql' su postgres -c 'psql invidious kemal < config/sql/videos.sql' su postgres -c 'psql invidious kemal < config/sql/channel_videos.sql' -- cgit v1.2.3