TYPO3 guide
Published
Updated
Run TYPO3 on fortrabbit with Composer. The TYPO3 software template sets the root path public and the merge deployment strategy. The database settings go into the TYPO3 configuration, by ENV vars or by the installer.
Get ready
Create an app with TYPO3 as the software, so the software template applies. It covers TYPO3 12 to 14. Install TYPO3 in a local development environment first, see the TYPO3 installation guide, for example with Composer:
composer create-project typo3/cms-base-distribution example-project-directory "^13"
Root path
The template sets the root path to public.
MySQL
TYPO3 does not read the database settings from ENV vars on its own, and the template sets none. Two options:
- Read the platform database variables,
FORTRABBIT_DB_HOSTand the others, inconfig/system/additional.php. This works with Git deployment. - Run the TYPO3 installer on the environment, which writes the settings into
config/system/settings.php.
Deployment
Deploy with Git through the GitHub App; the build commands run Composer. The template uses the merge strategy, so files TYPO3 writes, such as fileadmin and config/system/settings.php, stay across deployments. SSH and SFTP work too.