supervisord which runs
You can override which command to run on
cli container start.
services: cli: command: bundle exec thin -p 3000
The command can also be in a list:
services: cli: command: ["bundle", "exec", "thin", "-p", "3000"]
This can be useful for automatic services initialization, such as:
services: cli: # Using nodemon for live reload command: ["bash", "-lc", "nodemon index.js"]
bash -lc, not just
bash -c, as login shell initializes docker user environment.
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Docksal, ask it in Discussions on GitHub. Open an issue if you want to report a problem or suggest an improvement. You can also contribute changes to this page using the link in the top right corner.