/docker-PHP-Cron

Cron container built off latest official v7.3 PHP-FPM with production config. Includes ionCube Loader php extension as required for WHMCS. Compliments WHMCS php container.

Primary LanguageDockerfile

CRON PHP-FPM Template for WHMCS CRON Requirements

You can find my WHMCS PHP-FPM container here.

Docker Pulls Docker Stars Docker Build Docker Build Status

Cron service container with latest offical v7.3 PHP-FPM container configured with basic extensions and production settings. This is intended for use as a cron service to compliment php services like WHMCS that require cron in order to automate php based actions. Includes ionCube Loader php extension as required for WHMCS.

Changes to offical container

Extentions

  • pdo_mysql
  • mysqli
  • calendar
  • intl
  • ionCube Loader

php.ini

  • date.timezone = Etc/UTC
  • upload_max_filesize = 25M
  • post_max_size = 25M

Packages

  • cron
  • mariadb-server

Configuration

See example directory for sample config file showing how to use this container with nginx.

Quickstart

See example directory for the best production use of this docker container.

cron:
  image: fireant456/php-cron

  volumes:
    # Website files
    - ./www:/var/www/html