Hi, I recently tried to run nodebb in docker, but I didn't find a suitable sample docker-compose file to define nodebb docker user non root. I tried to use PGID/PUID or user in docker-compose file, but it is not work. when I tried to use PGID/PUID in environment, the node still run as root. when I tried to use user, the node runs as user, but report error "error: Error: EACCES: permission denied, open '/usr/src/app/public/installer.css"
So is there anybody could give me some advice for it, thanks!
@meetdilip: Yes, of course it depends on the different sites. It should be an optional, configurable feature. Since it seems to be not yet implemented in NodeBB, I woud like it to be considered a feature suggestion.
About choosing Discourse or NodeBB, Discourse has already very nice features like this self-moderation. However, for some other points that can be important depending on the site, NodeBB gives more options. For example, Discourse has explicitly discarded pagination as a possible option, therefore infinite scroll must be used in all cases. Also adamantly discarded are hierarchical categories, and only one level of subcategories is allowed in all cases.
On the other hand, NodeBB seems more open to give options for users' suggestions, such as optional pagination, unlimited subcategory levels, flexible theming, etc. So, this project probably will use NodeBB.