for reference of my calculation see RL Norton machine design book.
For this special problem, in my opinion
0.4mm thickness after o - ring groove of Al wall seems very thin for resist deformation and accidental damages,why not increse it a little as per your past experience or to 1 to 2mm on...