View Issue Details

IDProjectCategoryView StatusLast Update
0000028O3 ShopGeneralpublic2023-04-13 00:37
ReporterOzone Assigned ToOzone  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionopen 
Target Version1.2.0 
Summary0000028: Basic configuration is loaded from environment variables
DescriptionThe basic configuration (path, url, database, ...) should be stored in environment variables instead of config.inc.php. In the standard shop, these come from a .env file supplied. The config.inc remains as before, but instead of the concrete data it only contains references to the env settings.

Why all this?:

- In installations, logic may be required in the config file. This means it should be in the backup, but it can't be because of the credentials. Env decouples all this.
- The env variables can also be defined directly on the server's operating system and overload the settings of the .env file. This allows the identical installation to be rolled out at different stages (dev, staging, production) without adjustments. This is relevant for (automatic) deployments of larger installations.

Nothing changes in the installation process. The setup only writes the collected data somewhere else. Nothing changes for the shop operator either.
Additional InformationAdditionally, all configuration settings of the shop and the modules could optionally be loaded from the Env settings (instead of the shop's config table)
TagsNo tags attached.

Relationships

child of 0000032 new Configuration settings from env variables 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2023-04-10 00:20 Ozone New Issue
2023-04-10 00:23 Ozone Additional Information Updated
2023-04-13 00:36 Ozone Assigned To => Ozone
2023-04-13 00:36 Ozone Status new => assigned
2023-04-13 00:36 Ozone Status assigned => resolved
2023-04-13 00:36 Ozone Target Version Next => 1.2.0
2023-04-13 00:37 Ozone Relationship added child of 0000032