BMG-
WELCOME to the board!
DD summed it up.
When I built my first one, I knew NOTHING about how safe it would be. Fortunately I turned it from a solid billit of HRS (hot rolled steel - very tough and strong, mild steel which is good). I turned a powder chamber in it with rounded inside corners for strength.
THEN when I first fired it, I filled the cans with water. That is a LIMITING factor. When the pressure from underneith the can presses too hard on the bottom it presses the sides out. So the first indication of brining the charge up in pressure is scrape marks on the can; the second indication is that the can splits and doesn't go anywhere - just sprays water all over. Both were MILD loads.
Learning of strengths of steels and such, I then filled the cans with sand or concrete - greater mass/density and hence greater range - but with no indication of pressure.
In general, in mortars, pressure is much like that of a shotgun - much lower than that of a rifle. But design-wise follow the examples of successful designs, make a little stronger for insurance and build it.
Powder chambers are good. Rounded inside corners are good. Good quality steel is good. REASONABLE powder charges are good.