How do activate the 'compactor'?

Are two instances, one with -target=write and another with -target=read enough to have a single compactor instance going (in the target=read)?

Doesn’t this mean that the loki started as a reader will have to have both write and delete permissions?