Installation
Docker
Learn how to install Cachet on your server with Docker.
Overview
Docker support is maintained by Cachet users from within the community.
Getting Started With Docker Compose
Quickly launch Cachet, NGINX and PostgreSQL docker images with docker-compose.
- Clone the repository:
- Edit the docker-compose.yml file to specify your ENV variables.
- To build an image containing a specific Cachet release, change the
cachet_ver
ARG in the docker-compose.yml file: - Build and run the image:
- Continue to configure Cachet in your web browser by navigating to your Docker host’s IP address.
Running Cachet Docker Container Manually
Run a DB container:
Run Cachet:
Now go to http://<ipdockerisboundto>:8000/setup
and have fun!
Enabling SSL
This is commonly achieved by running Nginx with your certificates on your Docker host, service or load balancers in-front of the running container, or by adding your custom SSL certificates and configuration to the supplied Nginx configuration.
Notes
- cachethq/docker runs on port 8000 by default. This is exposed on host port 80 when using docker-compose.
- The master
branch and
cachethq/docker:latestDocker automated build are a work in progress / development version of the upstream https://github.com/CachetHQ/Cachet project. As such,
masteror
latest` should not be used in a production environment as it may change at anytime. We strongly recommend specifying a stable Cachet Release at build time as mentioned in step 3 above.