For the first TYPO3 setup:
make create typo3
or (make sure composer is installed)
rm -f app/.gitkeep
composer create-project typo3/cms-base-distribution app/
touch app/web/FIRST_INSTALL app/.gitkeep
Open http://localhost:8000 and follow installation wizard.
When asked for database setup, use the settings from the services documentation or see your etc/environment.yml
. Make sure to set the correct database-host ('mysql' by default).
Feel free to modify your TYPO3 installation in your app/
(a shared folder of Docker),
most of the time there is no need to enter any Docker container.
You can run one-shot command inside the app
service container:
docker-compose run --rm app web/typo3/cli_dispatch.phpsh extbase
# or simply:
docker-compose run --rm app cli extbase # cli refers to CLI_SCRIPT env in etc/environment.yml
docker-compose run --rm app bash
Set in web/typo3conf/LocalConfiguration.php:
'SYS' => array(
[ ... ],
'trustedHostsPattern' => '.*',
),
Should not be needed on Apache HTTPd.