I think you should look at that:
When you install bitcoind with Runtipi you can already change a lot of parameters.
It should have everything you may want to adjust:
The first one being the prune parameter
You can change these parameters at any time within app settings:
Don’t forget to restart the app after a modification
PS: This is probably all you need especially if you are not comfortable enough with docker.
I will clarify my initial explanation in another message if you want to go further later.

