Skip to main content

Overview

Cachet community members maintain Docker support.

Getting started with Docker Compose

Use docker-compose to launch Cachet, NGINX, and PostgreSQL containers.
  1. Clone the repository:
  2. Edit docker-compose.yml to set your environment variables.
  3. To build an image containing a specific Cachet release, change the cachet_ver ARG in the docker-compose.yml file:
  4. Build and run the image:
  5. Open your Docker host’s IP address in a browser to configure Cachet.

Running Cachet Docker container manually

Run a database container:
Run Cachet:
Open http://<ipdockerisboundto>:8000/setup to configure Cachet.

Enabling SSL

To enable SSL, run Nginx with your certificates on the Docker host, service, or load balancers in front of the container. Alternatively, add your SSL certificates and settings to the supplied Nginx configuration.

Notes

  • cachethq/docker runs on port 8000 by default. With docker-compose, it is exposed on host port 80.
  • The master branch and cachethq/docker:latest automated build are development versions of the Cachet project. Do not use master or latest in production, as they may change at any time. Specify a stable Cachet release at build time, as shown in step 3 above.