This is the official repository of the Docker image for Cachet.
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.
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 master branch and cachethq/docker:latest
Docker automated build are a work in progress / development version of the upstream Cachet project. Use of master
or :latest
in a production environment is not recommended as it may change at any time.
Please use a tagged Cachet Docker image release or one of the tagged builds from https://hub.docker.com/r/cachethq/docker/tags/ with docker pull cachethq/docker:2.2.1
.
Pull requests must pass the Bash Automated Testing System tests, which run on Travis CI via located in the test directory.
Use make test
to manually run the tests.
- 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 ..
4.Edit the docker-compose.yml file
replace
build: .
with
image: cachethq/docker
replace
- /var/www
with
- ./Cachet/:/var/www/html/
5.build and run the docker compose
docker-compose up
- Open new terminal and execute the following commands after getting container name via
docker ps
-
docker exec -i docker_cachet_1 php artisan key:generate
docker exec -i docker_cachet_1 php artisan app:install