Wow, that’s a lasting traumatic experience for both you and the baby. So sorry !! What do you want, is 1 st thing. I agree safety comes first. Then figure out if you want a divorce and/or think to find means to help him get help. Either an intervention to get in rehab or other forms of psych which would help him. Or restraining order if he can’t control himself, bc now as he acted out - became physical- that needs not to be tolerated anymore.
There are various ways to make him get help, make reparation and get back to his responsibilities to take care of you and baby.
Learn the few steps in addiction and in which stage he is, he may know better given he had relapsed. Must work trough the why he relapsed with a psych. No need to be insufferable and violent if he relapsed. So these may be some ideas if you don’t decide for a divorce and don’t stop searching for help, you’re 2 now