Configured s3, but i want asset to serve locally

I believe that is the problem you want to solve. It’s a good bet that this is a symptom of your problem, not the problem itself.

I think if you set DISCOURSE_USE_S3 to false (or maybe just don’t include it), it won’t push the assets to s3.