A basic PHP 5.6 FPM container to serve a PHP application privately. It is
configured to connect on port 9000 and should be linked to an Nginx container.
Application location should match that of the Nginx container.
If you're using our
c4tech/laravel-nginx image, your app root should include
/app/publicas a mounted volume. We use the
app as a linked volume.
We use the official
redis images for DB and cache services.
Docker Compose example
fpm: image: c4tech/laravel-fpm volumes_from: - data working_dir: /app