diff options
| author | JuniorJPDJ <github.com@juniorjpdj.pl> | 2021-10-11 21:16:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-11 19:16:56 +0000 |
| commit | df968d1919227949bcbeedb253d66ed0720b3d2a (patch) | |
| tree | c4192c127e45c039fbc8478033bd0cb715a41326 /docker | |
| parent | b10f37bea972fde6586639511bf8eaab490581fd (diff) | |
| download | invidious-df968d1919227949bcbeedb253d66ed0720b3d2a.tar.gz invidious-df968d1919227949bcbeedb253d66ed0720b3d2a.tar.bz2 invidious-df968d1919227949bcbeedb253d66ed0720b3d2a.zip | |
variable postgres username and database name (#2451)
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/init-invidious-db.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docker/init-invidious-db.sh b/docker/init-invidious-db.sh index cc0e1c3f..22b4cc5f 100755 --- a/docker/init-invidious-db.sh +++ b/docker/init-invidious-db.sh @@ -1,10 +1,6 @@ #!/bin/bash set -eou pipefail -psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL - CREATE USER postgres; -EOSQL - psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" < config/sql/channels.sql psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" < config/sql/videos.sql psql --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" < config/sql/channel_videos.sql |
