A demo project to play around with supervisor and Docker.
You might like to watch the corresponding YoutTube Video "supervisor + Docker: mehrere Prozesse in einem Container" (german).
Build the image and run the container:
docker-compose up --build
Open another terminal window and run supervisorctl
:
docker-compose exec demo supervisorctl
Type help
to see what commands are available.
To observe how the processes inside the container behave you could watch ps
in another terminal window:
docker-compose exec demo watch ps