Default database variable names in .env file #7
-
Hey, First off, very good work! I really enjoy switching from my custom deployment scripts to your deployer configuration. Since it's possible to use the environment variables in AdditionalConfiguration.php, it would be nice to have a consistent syntax for variables for additional configuration. I would prefer |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
First. Nice that you like deployer-extended-* About your idea. I am not sure :) My "hardcoded" version is something that was used by Helmut Humel a few years ago. So at this time you could say it was some "standard". Of course I have also automatic "reader" into So what's more the gist you sent is that it allows you to choose what other "namespaces" can populate despite the standard The second thing is that I found this way of overwriting vars from .env has more cons than pros. The cons are:
Then also So if I was to change this part today:
|
Beta Was this translation helpful? Give feedback.
-
@maikschneider What's new in this branch is that it use So you can remove:
from your config. Remember that to activate new driver you need to set:
I tested it on TYPO3 10 and TYPO3 11 and its working ok. (deploy and database pull/copy) |
Beta Was this translation helpful? Give feedback.
-
New driver based on typo3cms command To activate it use: This way |
Beta Was this translation helpful? Give feedback.
New driver based on typo3cms command
./vendor/bin/typo3cms configuration:showactive DB --json
has been added in version 16.1.0.To activate it use:
set('driver_typo3cms', true);
This way
deployer-extended-typo3
no longer force you to use specific way for setting database creds so your problem is solved.