3 ms·
Have you tried using a process manager like supervisord[1] or pm2[2]? The former has a pretty clean declarative interface that you could view as a replacement f
by spmurrayzzz 4y ago
Have you tried using a process manager like supervisord[1] or pm2[2]? The former has a pretty clean declarative interface that you could view as a replacement for something like a docker-compose file or a k8s pod config.
You don't get any containerization/isolation benefits obviously, but it sounds like you've already accepted that.
[1] http://supervisord.org/ http://supervisord.org/
[2] https://github.com/Unitech/pm2 https://github.com/Unitech/pm2
- snake_case 4y agoAnd another possibly lighter alternative is something like concurrently: https://github.com/open-cli-tools/concurrently https://github.com/open-cli-tools/concurrently
- qbasic_forever 4y agoForeman is a nice, easy to use local process manager. It's what heroku and such use with a simple Procfile for defining multiple processes, but it would work fine for running multiple developer tools, testing services/dependencies, etc. There are multiple implementations of it, heres the canonical one: https://github.com/ddollar/foreman https://github.com/ddollar/foreman And heres a go version that's easier to install and use: https://github.com/ddollar/forego https://github.com/ddollar/forego