Because I have trouble walking, I sleep with everything I might need within reach of me. Otherwise getting up just flares up the pain.
I try to get it as close as I can, but the bed is sitting just inside the door, so I have to put my stuff on the other side of the door, so it’s the width of the door away from me. I may have to make some changes until I get better.