Overview
Cachet community members maintain Docker support.Getting started with Docker Compose
Use docker-compose to launch Cachet, NGINX, and PostgreSQL containers.- Clone the repository:
- Edit
docker-compose.ymlto set your environment variables. - To build an image containing a specific Cachet release, change the
cachet_verARG in the docker-compose.yml file: - Build and run the image:
- Open your Docker host’s IP address in a browser to configure Cachet.
Running Cachet Docker container manually
Run a database container: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/dockerruns on port 8000 by default. With docker-compose, it is exposed on host port 80.- The
masterbranch andcachethq/docker:latestautomated build are development versions of the Cachet project. Do not usemasterorlatestin production, as they may change at any time. Specify a stable Cachet release at build time, as shown in step 3 above.