#!/bin/bash set -euo pipefail echo "Restoring database from seed.dump..." pg_restore \ --clean \ --if-exists \ --no-acl \ --no-owner \ -U "${POSTGRES_USER}" \ -d "${POSTGRES_DB}" \ "/docker-entrypoint-initdb.d/seed.dump"