HomeSoftware Heritage

Simplify the scheduler's database initialization

Description

Simplify the scheduler's database initialization

Use the new "init-admin" command to initialize the database and fallback to the standard postgresql initialization.
The database creation is delegated to the postgresql entrypoint, the extensions and the tables are configured respectively by the init-admin and init commands.

Related to T2736

Details

Provenance
vsellierAuthored on Oct 29 2020, 9:50 AM
vsellierPushed on Oct 29 2020, 11:04 PM
Differential Revision
D4377: Simplify the scheduler's database initialization
Parents
rDENVb42197a23f34: docker/conf: Migrate configuration to the latest schema change
Branches
Unknown
Tags
Unknown
Tasks
T2736: Configure db1 as new staging db server