You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This way the container can be scaled to more than 1 replica in Kubernetes (see geerlingguy/raspberry-pi-dramble#111), and it can also be replaced and still use an existing database.
Basically, the entrypoint script, if it needs to download the Drupal codebase, should also copy default.settings.php over to settings.php and append environment-variable DB connection information, like:
I also need to do a site install and see what else is added to the default settings.php—I think it also drops some sort of encryption key in there. That should be set as an env variable as well, if that's the case, with instructions for how to generate it.
The text was updated successfully, but these errors were encountered:
This way the container can be scaled to more than 1 replica in Kubernetes (see geerlingguy/raspberry-pi-dramble#111), and it can also be replaced and still use an existing database.
Basically, the entrypoint script, if it needs to download the Drupal codebase, should also copy
default.settings.php
over tosettings.php
and append environment-variable DB connection information, like:I also need to do a site install and see what else is added to the default settings.php—I think it also drops some sort of encryption key in there. That should be set as an env variable as well, if that's the case, with instructions for how to generate it.
The text was updated successfully, but these errors were encountered: