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
Currently mysql database configuration options can be provided via the command line interface.
This is used by:
PHP.hs for travis check
Settings.json input file for prototype framework
However, for the prototype framework we're planning to ignore these from the settings.json because database settings are most of the time deployment environment specific. For a local test env you use different settings than for a remote production environement.
As docker is used to build an ampersand prototype image, this image must be different for test and production, because the settings are 'baked' into the image. This is not complying to the "Image Immutability Principle" of container based application design.
See: https://kubernetes.io/blog/2018/03/principles-of-container-app-design/
This issue request removal of the database settings from the Ampersand compiler.
Currently mysql database configuration options can be provided via the command line interface.
This is used by:
However, for the prototype framework we're planning to ignore these from the settings.json because database settings are most of the time deployment environment specific. For a local test env you use different settings than for a remote production environement.
As docker is used to build an ampersand prototype image, this image must be different for test and production, because the settings are 'baked' into the image. This is not complying to the "Image Immutability Principle" of container based application design.
See: https://kubernetes.io/blog/2018/03/principles-of-container-app-design/
This issue request removal of the database settings from the Ampersand compiler.
TODOs:
Update documentation. https://ampersandtarski.gitbook.io/documentation/the-command-line-tool and sub pagesnot needed, because dbHost, dbName, dbUser and dbPass options were not described for compiler v4.xThe text was updated successfully, but these errors were encountered: