Configured s3, but i want asset to serve locally

I have already configured s3 according to this guide:

what should i do if i want discourse assets to still serve locally?

Hello :wave: The title and content of the topic are a bit contradictory but I assume you want to store assets on Object Storage. :thinking:

1 Like

Sorry about that. You are right. I just edited the post. I want assets to be served locally

my problem is that when I enable after_assets_precompile the rebuild hangs In rake s3:upload_assets line for one hour, so I terminated the process. and also when I disable after_assets_precompile, my forum wont show up due to not finding assets on s3.

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.

1 Like