Name: cachethq-docker
Owner: Kik Interactive
Description: Dockerized version of Cachet
Created: 2015-11-02 13:58:54.0
Updated: 2017-05-21 17:24:58.0
Pushed: 2015-12-06 12:02:09.0
Homepage: null
Size: 18
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Run Cachet status page in a Docker container.
For full documentation, visit the Cachet Documentation page:
rounds/cachethq-docker
is available as a Docker Hub Build
To pull the latest
tag from the Docker Hub:
er pull rounds/cachethq-docker:latest
To pull a specific version from the Docker Hub:
er pull rounds/cachethq-docker:1.2.0
Cachet 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
er run --name pgsql -e POSTGRES_USER=cachet POSTGRES_PASSWORD=cachet
er 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:latest
er run --name mysql -e MYSQL_USER=cachet -e MYSQL_PASSWORD=cachet -e MYSQL_ROOT_PASSWORD=cachet -e MYSQL_DATABASE=cachet -d mysql
er 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:latest
Docker compose can also be used to automatically setup the Database and Cachet containers.
er-compose up
Access to the status page is protected by nginx basic auth. Authorized users are defined in the standard password file htpasswd. Note that Cachet API is not protected by basic auth because it already has access control (API token).