Add test mgr setup
This commit is contained in:
parent
8e7f8c3d46
commit
30ddadd954
14 changed files with 345 additions and 64 deletions
57
docker/mgr-application.ini
Normal file
57
docker/mgr-application.ini
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
[production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
includePaths.library = LIBRARY_PATH
|
||||
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||||
bootstrap.class = "Bootstrap"
|
||||
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||||
resources.frontController.noViewRenderer = 0
|
||||
resources.frontController.noErrorHandler = 0
|
||||
resources.frontController.useDefaultControllerAlways = 0
|
||||
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
|
||||
resources.view[] =
|
||||
autoloadernamespaces.0 = "CAcert_"
|
||||
|
||||
; Database settings for Session DB
|
||||
ca_mgr.db.session.pdo = "Pdo_Mysql"
|
||||
ca_mgr.db.session.autocleanup = 1
|
||||
ca_mgr.db.session.host = "db"
|
||||
ca_mgr.db.session.username = "@MYSQL_MGR_USER@"
|
||||
ca_mgr.db.session.password = "@MYSQL_MGR_PASSWORD@"
|
||||
ca_mgr.db.session.dbname = "mgr"
|
||||
|
||||
; Database settings for Auth DB (CACert User Table)
|
||||
ca_mgr.db.auth.pdo = "Pdo_Mysql"
|
||||
ca_mgr.db.auth.host = "db"
|
||||
ca_mgr.db.auth.username = "@MYSQL_MGR_USER@"
|
||||
ca_mgr.db.auth.password = "@MYSQL_MGR_PASSWORD@"
|
||||
ca_mgr.db.auth.dbname = "cacert"
|
||||
ca_mgr.db.auth.tablename = "users"
|
||||
|
||||
; Database settings for Auth DB (Manager User Table)
|
||||
ca_mgr.db.auth2.pdo = "Pdo_Mysql"
|
||||
ca_mgr.db.auth2.host = "db"
|
||||
ca_mgr.db.auth2.username = "@MYSQL_MGR_USER@"
|
||||
ca_mgr.db.auth2.password = "@MYSQL_MGR_PASSWORD@"
|
||||
ca_mgr.db.auth2.dbname = "mgr"
|
||||
ca_mgr.db.auth2.tablename = "system_user"
|
||||
|
||||
; Database settings for Config DB (access to system_config and dnssecme data tables)
|
||||
ca_mgr.db.config.pdo = "Pdo_Mysql"
|
||||
ca_mgr.db.config.host = "db"
|
||||
ca_mgr.db.config.username = "@MYSQL_MGR_USER@"
|
||||
ca_mgr.db.config.password = "@MYSQL_MGR_PASSWORD@"
|
||||
ca_mgr.db.config.dbname = "mgr"
|
||||
|
||||
; Application name for logger
|
||||
log.application = "web"
|
||||
|
||||
[staging : production]
|
||||
|
||||
[testing : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
|
||||
[development : production]
|
||||
phpSettings.display_startup_errors = 1
|
||||
phpSettings.display_errors = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue