Biggest tip here is to first put on a limiter and see if you need a 2bus compressor to begin with :). After have a listen to what you need and understand that the attack is the transient more or less knob and the release is the sustain more or less knob.
This way you can control the overal vibe according to whatever is triggering the compressor