Page MenuHomePhabricator

[keyserver] Update Node Docker Compose config to always restart
ClosedPublic

Authored by ashoat on May 2 2022, 7:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 7, 1:02 AM
Unknown Object (File)
Tue, Jan 7, 1:02 AM
Unknown Object (File)
Tue, Jan 7, 1:02 AM
Unknown Object (File)
Tue, Jan 7, 12:53 AM
Unknown Object (File)
Sun, Jan 5, 1:28 PM
Unknown Object (File)
Thu, Jan 2, 9:43 PM
Unknown Object (File)
Tue, Dec 31, 3:25 PM
Unknown Object (File)
Wed, Dec 25, 5:30 AM

Details

Summary

MySQL takes a while to start up, and Node will crash if MySQL (or Redis) doesn't respond.

We should probably make it so Node doesn't crash if it can't reach a service, and instead keeps retrying. But I actually think it's good to auto-restart the Node server either way here.

Test Plan

Run docker-compose up --build and make sure Node keeps restarting when it fails to connect to MySQL

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable