# traefik typo3 ## get started you will need a .env file sample .env: # .env MYSQL_ROOT_PASSWORD=PASSWORD MYSQL_DATABASE=typo3 MYSQL_USER=DATABASEUSER MYSQL_PASSWORD=DATABASEPASSWORD PROJECT_URL=typo3.localhost PROJECT_NAME=sample TRAEFIK_NETWORK=traefik_net PROJECT_DATA=./data If you want to make the first install steps uncomment following line in your docker-compose.yml in the volumes configuration from the TYPO3. # - "./LICENSE:/var/www/html/FIRST_INSTALL:ro" after your the installation you should comment this part again thet your ${PROJECT_DATA}/typo3conf/system/settings.php from the will not change. the container has just sendmail installed to change this you should change the settings.php for your mail and secure for the reversproxy. for development: 'transport_sendmail_command' => '/usr/sbin/sendmail -bs', and append / set: ['SYS'][ ... 'systemLocale' => 'de_AT.UTF-8', 'reverseProxyHeaderMultiValue' => 'first', 'reverseProxyIP' => '127.0.0.1', 'features' => [ ... 'security.backend.enforceReferrer] => false, 'security.backend.enforceContentSecurityPolicy' => false, ] ] because we are behind the reverse proxy. then execute init with ./init use in the install wizard for the db connection "db" and the port 3306 and use pdo_mysql driver. now the typo3 first install should be accessable: https://${PROJECT_URL} if you use the sample .env: https://typo3.localhost after the install there is at the a error. we have to set in the ${PROJECT_DATA}/typo3conf/settings/settings.php ['SYS']['features']['security.backend.enforceReferrer'] = true because we are behind the reverse proxy.