Is 1GB RAM enough for both WordPress and Discourse?

The only one of those warnings that could possibly cause problems on a small site is the THP one (and even then only if you’re unlucky). If you ever hit that somaxconn limit you’re doing very well, and overcommit_memory will cause problems on save, but won’t slow anything down.

All those referenced paths are on the outer system, not in the container.