Start and stop nodebb in docker the right way!
-
At the moment i start nodebb with node app.js but then gui restart dont work.
i need to be able to start nodebb in forground so docker dont die and restart work.
Any tips on this?
-
node loader.js --no-daemon
I think is what you want
-
@PitaJ Thanks for helping out!
This is what I am using now Needed the logs to
node loader.js --no-daemon --no-silentAnd this perms
chown -R 1001:nobody . ; find . -type d -exec chmod 750 {} + ; find . -type f -exec chmod 640 {} + ; chmod -R g+w build logs node_modules/nodebb-plugin-emoji/build public
Seams to work nice now
-
Tested it now for some days, It works great! Wonderful to save some time
Copyright © 2025 NodeBB | Contributors