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
F3657676: D3884.diff
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
Unknown Object (File)
Dec 3 2024, 11:56 AM
Unknown Object (File)
Dec 2 2024, 4:34 PM
Unknown Object (File)
Dec 2 2024, 2:50 PM
Unknown Object (File)
Nov 9 2024, 10:49 PM

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