I would think secure, away from sparks, where it can’t move or be struck by something that would cause a leak would be good.
I’d feel better mounted fully enclosed somewhere. Easy to put in a belly box since you are in a straight truck.
And regardless if legal or not, it may cause concern if...