Self host Cerb using Docker.
A full-stack Docker Compose installation of Cerb suitable for evaluation, development, and testing. Cerb file storage and the MySQL datadir are stored in local Docker volumes.
A full-stack Docker Compose installation of Cerb suitable for evaluation, development, and testing. Cerb file storage and the MySQL datadir are stored in local Docker volumes.
The cerb-base
directory builds the base image from the official php:fpm
versioned image along with Cerb's required PHP extensions.
Building this image first drastically speeds up the build times of versioned Cerb images.
This image only needs to be rebuilt when updating the OS, PHP, or extension versions.
Most people do not need to build this image locally.
The cerb
directory builds versioned Cerb images on top of cerb-base
.
This container uses PHP FastCGI Process Manager (PHP-FPM) and listens on port 9000. Do not expose this port publicly.
You must pair the container with a web server like Caddy or nginx.
Unless you need a custom build of Cerb, use the pre-built tagged images from Docker Hub: http://hub.docker.com/repository/docker/cerb/cerb