Go to file Use this template
2023-11-30 13:18:13 +01:00
apache-conf/sites-enabled removed unused file 2023-11-29 12:23:46 +01:00
php-conf inital commit 2023-11-26 12:24:49 +01:00
.env.sample inital commit 2023-11-26 12:24:49 +01:00
.gitignore inital commit 2023-11-26 12:24:49 +01:00
docker-compose.yml comment first install 2023-11-30 13:16:50 +01:00
Dockerfile clean 2023-11-29 14:22:58 +01:00
init clean 2023-11-29 14:22:58 +01:00
LICENSE Initial commit 2023-11-25 14:16:24 +01:00
README.md changed sql driver and clean up 2023-11-29 12:13:26 +01:00

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:

['SYS']['features']['security.backend.enforceReferrer'] = true

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.