Generally,
M/F and will co-exist, and typically spawn/breed.
F/F will co-exist peacefully.
M/M will fight til 1 or both are dead.
*Other combination are possible, but highly unrecommended.
They are generally peaceful to other tank mates, but will not be pushed around and will fight back if provoked. Females more so when the male has eggs. They don't seem to stake a territory like some other fish.