added support for movie search

This commit is contained in:
Edward Tirado Jr 2025-04-13 01:47:22 -05:00
parent 3117bac8a9
commit 29f0e73c0b
18 changed files with 198 additions and 32 deletions

View file

@ -0,0 +1,10 @@
#!/bin/bash
set -e
# Create a postgres database for the user set in the .env file.
# Everything works fine without this, but this prevents a FATAL
# error from spamming the logs
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE DATABASE "$POSTGRES_USER";
GRANT ALL PRIVILEGES ON DATABASE "$POSTGRES_USER" TO "$POSTGRES_USER";
EOSQL