Discourse is not supported in such a configuration. The assets that require database access do get dynamically rebuilt after changes while the app is started, but they share the same asset pipeline so need to get precompiled at the same time as everything else.
Attempting to skip asset precompile would mean you get only the dynamic assets, and none of the core ones.