infoderm / patients

:face_with_thermometer: Patients meteor app
GNU Affero General Public License v3.0
5 stars 2 forks source link

Figure out whether we need `tini` as `pid1` in containers #891

Closed make-github-pseudonymous-again closed 4 months ago

make-github-pseudonymous-again commented 4 months ago

Probably not for MongoDB, probably for web container. See:

make-github-pseudonymous-again commented 4 months ago

Experiments show that without --init or init: true killing the web service times out. With --init or init: true, the web service is killed immediately. There is no need to use --init or init: true for mongo since it already properly forwards signals.

We could use --init or init: true to take care of potential bugs in mongo, but I have not seen this concern raised anywhere.