From our sharing sessions with chili farmers that have been doing their thing for years, they are sure that the location of your chili crops is very important in determining the crops’ fertility and the result of your harvest later on.
Determining the location of your crops also has something to do with climate and weather conditions, as well as the soil type and its acidity (pH), temperature, and lightning from the sun. The recommended pH for the soil should be around 7 or neutral.
As for the soil type for chili crops, the recommended ones are: humus soil, sandy clay, argillaceous clay, peat, andosol soils, and grumusol soils. The aforementioned types of soil have enough nutrients within themselves that you can help along with adding non-organic or organic fertilizer for more optimum result. Personally, I much prefer farming chili crops on sandy clay on farmland.
However, from my personal experience, if I have to grow chili trees using pots or polybags, it is way preferable to grow them outdoor like on a farm or in a garden area than to grow them indoor with limited sunlight.