HomeDevCentral

Don't check database or provision settings at container startup

Description

Don't check database or provision settings at container startup

Summary:
Application configuration can be provisioned:

  • through environment
  • through a configuration file

The current image uses environment, which is good, but actually use it
to create a configuration file (which is rather bad, as it's not comprehensive).

Ideally, we should strive to allow Etherpad to directly parse environment,
but this isn't a current upstream goal.

So, to provision a comprehensive settings.json through rOPS is probably
better than tweak environment to recreate such a file each container start.

The implementation is straightforward: bypass the entrypoint,
ie don't check anymore if connection works and don't provision a settings.json.

Node so starts directly.

Test Plan: Tested on Equatower

Reviewers: dereckson

Reviewed By: dereckson

Differential Revision: https://devcentral.nasqueron.org/D1775

Details

Provenance
derecksonAuthored on Sep 18 2018, 22:32
derecksonPushed on Sep 23 2020, 22:44
Reviewer
dereckson
Differential Revision
D1775: Don't check database or provision settings at container startup
Parents
rDETHER9aa725630f20: Flatten image layers
Branches
Unknown
Tags
Unknown