How can I use PM2 with discourse (docker) ?
pm2 seems heavily geared at node.js and Discourse runs on Ruby, not sure if you would even get any useful metrics from it. that said you could create a template that lays down the runit service for it if your really wanted.
Could you please tell what is the way to run discourse forever ?
Try our 30 minute install
I was able to install it without any issue. My question was, if it
terminates, us there a way to restart by itself
Docker handles all this automatically, if you mean the server is rebooted. Can you be more specific?
Our docker image uses runit, a battle tested super robust init system, it will restart unicorn/nginx etc if they crash
That works for me
I really really love what you guys have built.
I have been sharing it with friends around and planning to use it in few
websites. So wanted to be sure it won’t die on me .