You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
I cloned main branch and configured all db connection settings, still can't make tables in DB container
So I figured out tables are supposed to be made, but they weren't.
I think /docker/init/setup.sh has wrong direction to init.sql. (I checked files directory in db container and find this problem)
Or maybe I'm just an idiot.
See the docker db container's file directory. setup.sh cannot find init.sql with your coded path.
Because there is no schemas folder nor init.sql in docker-entrypoint-initdb.d.
So it should go back and find /schemas/ directory
Description:
I cloned main branch and configured all db connection settings, still can't make tables in DB container
So I figured out tables are supposed to be made, but they weren't.
I think /docker/init/setup.sh has wrong direction to init.sql. (I checked files directory in db container and find this problem)
Or maybe I'm just an idiot.
Reproduction Steps:
Fix INIT bash script (/docker/init/setup.sh)
from
$ pg_restore --username="$POSTGRES_USER" --dbname="$POSTGRES_DB" --verbose /schemas/init.sql
to
$ pg_restore --username="$POSTGRES_USER" --dbname="$POSTGRES_DB" --verbose ./schemas/init.sql
Screenshots
Additional context
The text was updated successfully, but these errors were encountered: