Feature: Custom autostart commands

The Devilbox now supports custom autostart commands to be executed on the PHP container.
This is done by providing shell scripts which will be executed before PHP-FPM starts.
Shell scripts have to be added to the Devilbox git directory (see documentation below).

Use cases

  • Install additional modules
  • Install proprietry software which requires user license
  • Reconfigure PHP before startup
  • Run additional services
  • Auto-start NodeJS applications on startup

Variations

  1. Startup scripts for each PHP version separately (runs first)
  2. Startup scripts for all PHP versions equally (runs second)

PR

Documentation

1 Like