How to make custom docker settings permanent?

Tags: #<Tag:0x00007f739a9080c0> #<Tag:0x00007f739a90fc80> #<Tag:0x00007f739a90fa78>

Every time I upgrade HA, my docker settings get deleted, and I have to manually reconfig & restart the homeassistant container with Portainer.
How do I tell Supervisor I have custom docker settings, please?

Specifically, I need to configure:
Devices: /dev/ttyACM0 & /dev/hidraw0 (for Conbee II & WyzeSense bridge)
max-file & max-size (for limiting docker log size)
Container memory limit 2GB

I’m running supervised/supervisor on ubuntu 18.04.

Thank you