First many thanks because this project has allowed me to remove my site specific dockerfile hacks that I needed to reuse local packages.
These patches were tested with docker compose 1.7 and docker 1.11. I found that the iptables rules where not being cleaned up properly. I tracked it down to the python script not receiving the SIGTERM. So I added dumb-init, cleaned up the dockerfile and fixed the deploy script to handle the sigterm.
First many thanks because this project has allowed me to remove my site specific dockerfile hacks that I needed to reuse local packages.
These patches were tested with docker compose 1.7 and docker 1.11. I found that the iptables rules where not being cleaned up properly. I tracked it down to the python script not receiving the SIGTERM. So I added dumb-init, cleaned up the dockerfile and fixed the deploy script to handle the sigterm.