docker-compose: uwsgi process are getting restarted automatically event after killing them

I had build an image using docker-compose with nginx/uwsgi and had started the application using docker-compose up. Now I have removed all docker images/container and shutdown docker-compose using docker-compose down/stop.

I am killing all these process below using sudo pkill -f uwsgi -9 which is killing all these uwsgi workers and freeing up memory on the machine. And in the very next second,all the uwsgi process started again and again I following same steps but these stubborn proceses are never getting killed permanently.

    $ps -ef| grep app.ini
    root     28507 28483  0 13:35 ?        00:00:00 uwsgi app.ini
    root     28584 28507 99 13:35 ?        00:02:18 uwsgi app.ini
    root     28585 28507 99 13:35 ?        00:02:18 uwsgi app.ini
    root     28586 28507 99 13:35 ?        00:02:18 uwsgi app.ini
    root     28587 28507 99 13:35 ?        00:02:18 uwsgi app.ini
    ubuntu   29352 19463  0 13:37 pts/6    00:00:00 grep --color=auto app.ini

Could anyone help me with this. Thanks a lot.

Source: Docker Questions