Cachet Docker Image
Cachet is a beautiful and powerful open source status page system, a free replacement for services such as StatusPage.io, Status.io and others.
For full documentation, visit the Installing Cachet with Docker page.
Cachet is a BSD-3-licensed open source project. If you'd like to support future development, check out the Cachet Patreon campaign.
Clone this repository
git clone https://github.com/CachetHQ/Docker.git
Edit the docker-compose.yml file to specify your ENV variables.
Note: You must specify a unique
base64: prefix generated by
php artisan key:generate within the container.
To build an image containing a specific Cachet release, set the
cachet_verARG in the docker-compose.yml
The master branch and cachethq/docker:latest Docker automated build are a work in progress / development version of the upstream https://github.com/CachetHQ/Cachet project. As such, master or latest should not be used in a production environment as it can change at anytime.
We strongly recommend specifying a stable Cachet Release at build time as mentioned above.
Build and run the image
docker-compose build docker-compose up
cachethq/dockerruns on port 8000 by default. This is exposed on host port 80 when using docker-compose.
Docker Hub Automated build
cachethq/docker is available as a Docker Hub Trusted Build.
For a full list of Cachet versions released as Docker images please see the list of Docker hub tags.
The services such as Cachet, supervisord, nginx, and php-fpm log to
sdterr, and are visible in the Docker runtime output.
DEBUGDocker environment variable within the
docker-compose.ymlfile or at runtime to
truewill enable debugging of the container entrypoint init script.
make test to manually run the tests.
Development of Cachet using this docker environment
Clone the official repo of CachetHQ/Docker
git clone https://github.com/cachethq/Docker.git cachet-docker cd cachet-docker git tag -l git checkout $LATEST_TAG
Clone the official repo of CachetHQ/Cachet here and do composer install
git clone https://github.com/CachetHQ/Cachet.git
Setup the Cachet project
cd Cachet composer install cp ../conf/.env.docker ./.env cd ..
Edit the docker-compose.yml file
replace build: . with image: cachethq/docker replace - /var/www with - ./Cachet/:/var/www/html/
Build and run the docker compose
Open new terminal and run the following commands after getting container name via
docker exec -i cachetdocker_cachet_1 php artisan key:generate docker exec -i cachetdocker_cachet_1 php artisan app:install