Gluing and sealing fire-resistant bricks