Run Cachet status page in a Docker container.
For full documentation, visit the Cachet Documentation page:
cachethq/docker is available as a Docker Hub Trusted Build
To pull the latest tag from the Docker Hub:
docker pull cachethq/docker:latestTo pull a specific version from the Docker Hub:
docker pull cachethq/docker:1.2.0Cachet uses a database backend to store its data. You can configure this image to use either MySQL or PostgreSQL.
Note: Cachet recommends using PostgreSQL over MySQL
docker run --name pgsql -e POSTGRES_USER=cachet POSTGRES_PASSWORD=cachet
docker run -d --name cachet --link pgsql:pgsql -p 80:8000 -e DB_DRIVER=pgsql -e DB_HOST=pgsql -e DB_DATABASE=cachet -e DB_USERNAME=cachet -e DB_PASSWORD=cachet cachethq/docker:latestdocker run --name mysql -e MYSQL_USER=cachet -e MYSQL_PASSWORD=cachet -e MYSQL_ROOT_PASSWORD=cachet -e MYSQL_DATABASE=cachet -d mysql
docker run -d --name cachet --link mysql:mysql -p 80:8000 -e DB_HOST=mysql -e DB_DATABASE=cachet -e DB_USERNAME=cachet -e DB_PASSWORD=cachet cachethq/docker:latestDocker compose can also be used to automatically setup the Database and Cachet containers.
docker-compose up