Good advice above.
Locate the inverter, charger in the 12 volt panel, and the solar controller within 2 feet of the battery (not in the battery compartment for safety). Longer distances require larger wire size.
Use 4/0 gauge wire. See inverter installation instructions for wire size. Inverter will draw about 180 amps from the batteries at full power.
Get a big 180 amp Bussmann circuit breaker. It will double as a battery disconnect. Battery bank to breaker 4/0 awg. Breaker to buss 4/0 awg. Buss to inverter 4/0 awg. (The breaker needs to be sized to match the wire gauge.)
Converter/controller/fuse panel probably has appropriate size fuse for a couple of feet. Use 10 awg for 30 amps. For much longer wire add appropriate fuse for wire size near the new buss.
Solar controller probably has its own circuit protection. See installation instructions.
Inverter probably has its own circuit protection. See installation instructions.
Be sure to increase battery ground circuit to frame to 4/0 awg.
Reconsider inverter size. Check specification for maximum current from battery. You may need to double your battery bank size for 180 amps. Or, you could use a 1000 watt inverter and get buy with 2 awg wire instead of 4/0 and a smaller main breaker/disconnect. Again, see inverter installation instructions for wire size.
My pair of 100 amp hour group 31 AGM batteries barely support 85 amps needed for a 1000 amp inverter. My inverter requires 2 gauge wire.
I wish you good luck and happy trails ahead!