Add a layer of softened onions, then add a layer of your cheeses. Then add another layer of celeriac, then onions, then cheeses, keep layering until all is gone. Cover the pie with the smaller circle of pastry and crimp the edges together. Make a a pattern into the pastry slice gently with a knife, without cutting through. Brush with milk or the egg for a glaze.