Community: The most natural way to keep them is in a harem with a single male and several females. In the wild the male is a loner and the females group. The male entices a female into his cave with his splendid color and finnage to breed and then she rejoins the other females. Male peacocks are not friendly toward each other and females all look very similar, so only one species should be kept to prevent unnecessary aggression and crossbreeding.
Another alternative some people go with is an all male tank. Without females around the males tend to get along much better. There will still be dominent and subdominent fish, and the subdominent ones will show poorer color. This aspect gives a nice colorful showtank, but loses the aspect of natural behavior like nesting and spawning.
Substrate: Males are diggers and the best for them is a sand or very light gravel. They will survive with normal gravel.
Decoration: A nice combination of rocks to provide caves and open swimming area.
Food: Any omnivorous cichlid pellet or flake will work as a staple, and for suppliments you can go with small invertibrates like brine shrimp and mysis.