summaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-04-15 11:13:09 -0500
committerOmar Roth <omarroth@hotmail.com>2019-04-15 11:13:09 -0500
commit3bcb98e644bfeb0ae4127a4749051b2f05fdba8b (patch)
treea54f84dc36afa6757dc093c8062f520e6f7fb80e /docker
parent2deb436ccdf5b0bdd86bac251d3ec3dab2664983 (diff)
downloadinvidious-3bcb98e644bfeb0ae4127a4749051b2f05fdba8b.tar.gz
invidious-3bcb98e644bfeb0ae4127a4749051b2f05fdba8b.tar.bz2
invidious-3bcb98e644bfeb0ae4127a4749051b2f05fdba8b.zip
Add config option to cache annotations from IA
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/entrypoint.postgres.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/entrypoint.postgres.sh b/docker/entrypoint.postgres.sh
index 64bcfe48..8bc0e602 100755
--- a/docker/entrypoint.postgres.sh
+++ b/docker/entrypoint.postgres.sh
@@ -18,6 +18,7 @@ if [ ! -f /var/lib/postgresql/data/setupFinished ]; then
su postgres -c 'psql invidious kemal < config/sql/users.sql'
su postgres -c 'psql invidious kemal < config/sql/session_ids.sql'
su postgres -c 'psql invidious kemal < config/sql/nonces.sql'
+ su postgres -c 'psql invidious kemal < config/sql/annotations.sql'
touch /var/lib/postgresql/data/setupFinished
echo "### invidious database setup finished"
exit