Since you're doing this off-grid, you probably don't need to follow building codes to the letter, as long as you make it safe enough that you are comfortable with it.
Not knowing your latitude, it's hard to recommend anything specific, as being more southerly will allow for smaller/fewer panels to hit your target year-round, compared to a northern location. For 2kWh per day, at the extreme north of the US (North Dakota along the 49th parallel), to hit 2kWh per day in January, you'd need about 1200W of panels according to NREL's pvwatts site. Conversely, during the summer months at the same latitude, that same system will be giving you at least 6kWh of power per day. I don't think you'll have much success fitting 1200W of panels into the dimensions you provided in your initial post though, so for your sake I hope you aren't in North Dakota ?.
If you're at the southern tip of Texas, you could probably get away with only 750W of panels to provide that same amount of power in January, and it'd be a lot more consistent throughout the year because of the solar angle changing less. Also, I think the NREL website takes weather into account, so you'd benefit from putting in your exact location.
Go to
https://pvwatts.nrel.gov/ and plug in your address. Just start tinkering with the DC system size to get a rough idea of how much power you'll need from each panel. On the results page, it will tell you how many kWh it's expected to generate for each month. Divide that number by the number of days in that month, and you'll get the expected average kWh it will generate in a given day. Get that as close to 2kWh as possible, and you'll have a rough idea of how much panel you need to throw at your project. Then start searching websites that sell single panels wholesale, like Santan Solar or even Craigslist to find something that you can physically fit in your space. All of the major sites that sell will provide dimensions of the panels.