PHP Docker images configured for TYPO3. They are meant as base images for my TYPO3 Images, but can also be used for e.g. local development.
SET_OWNER
- If set to "true" and the container is run as "root" recursively sets owner of files in "/var/www/html/" to "www-data". Defaults to "true".
When run rootless the containers accept connections on port 8080 and include Supercronic to allow rootless usage. See the podman-compose.yml file for an example on how to use the images.
For seperation of concerns a second container with the same image can be used to run cronjobs.
On rootful setups you can setup a crontab file in "/var/spool/cron/crontabs/www-data". You just need to set the entrypoint to /usr/sbin/cron -f
.
On rootless setups we can't use the native cron daemon. Instead Supercronic is used. You can setup "crontab" file in "/typo3/crontab". You just need to set the entrypoint to /usr/local/bin/supercronic /typo3/crontab
.
This project is licensed under the MIT License - see the LICENSE.md file for details. The image contains software that use different licenses.