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)
Sun, Sep 15, 10:41 PM
Unknown Object (File)
Sep 2 2024, 7:02 PM
Unknown Object (File)
Sep 2 2024, 7:02 PM
Unknown Object (File)
Sep 2 2024, 7:01 PM
Unknown Object (File)
Sep 2 2024, 6:59 PM
Unknown Object (File)
Aug 21 2024, 8:23 PM
Unknown Object (File)
Aug 2 2024, 6:06 AM
Unknown Object (File)
Aug 2 2024, 6:06 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