dependency failed to start: container sentry-self-hosted-postgres-1 is unhealthy
Just run commands and problem solved.
docker compose run --rm postgres bash
su - postgres
/usr/lib/postgresql/9.6/bin/pg_resetxlog -D /var/lib/postgresql/data -f
exit
docker compose up -d
More details you can read in issue page.