Giter Club home page Giter Club logo

docker-cachet's Introduction

hub.docker.com/r/tiredofit/cachet

Build Status Docker Pulls Docker Stars Docker Layers

Introduction

This will build a container for Cachet - An open source status page.

  • This Container uses a customized Alpine base which includes s6 overlay enabled for PID 1 Init capabilities, zabbix-agent for individual container monitoring, Cron also installed along with other tools (bash,curl, less, logrotate, nano, vim) for easier management. It also supports sending to external SMTP servers..

Changelog

Authors

Table of Contents

Prerequisites

This image assumes that you are using a reverse proxy such as jwilder/nginx-proxy and optionally the Let's Encrypt Proxy Companion @ https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion in order to serve your pages. However, it will run just fine on it's own if you map appropriate ports. See the examples folder for a docker-compose.yml that does not rely on a reverse proxy.

You will also need an external MariaDB container

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull tiredofit/cachet

Quick Start

The first boot can take from 2 minutes - 5 minutes depending on your CPU to setup the proper schemas.

Login to the web server and enter in your admin email address, admin password and start configuring the system!

Configuration

Data-Volumes

The following directories are used for configuration and can be mapped for persistent storage.

Directory Description
/www/logs Nginx and PHP Log files
/assets/custom (Optional) Copy source code over existing source code in /www/html upon container start. Use exact file/folder structure
/assets/custom-scripts (Optional) If you want to execute custom scripting, place scripts here with extension .sh
/www/html (Optional) If you want to expose the cachet sourcecode and enable Self Updating, expose this volume
*OR
/data Hold onto your persistent sessions and cache between container restarts

Environment Variables

Along with the Environment Variables from the Base image, and Web Image, and PHP Image below is the complete list of available options that can be used to customize your installation.

Still under construction, automatic installing is not fully working

Parameter Description default
ADMIN_EMAIL Administrator Email Address - Needed for logging in [email protected]
ADMIN_PASS Administrator Password - Needed for Logging in cachet
ADMIN_USER Admin username admin
APPLICATION_NAME Change default application name - Default cachet cachet
APP_DEBUG Debug Mode for Application FALSE
DB_HOST Host or container name of MariaDB Server e.g. cachet-db
DB_NAME MariaDB Database name e.g. cachet
DB_PASS MariaDB Password for above Database e.g. password
DB_PORT MariaDB Port - Default 3306 3306
DB_USER MariaDB Username for above Database e.g. cachet
DRIVER_CACHE Cache Driver apc
DRIVER_QUEUE Queue Driver database
DRIVER_SESSION Session Driver apc
ENABLE_BEACON Send details to cachethq.io about installation FALSE
ENABLE_DEBUG_BAR Debug Bar FALSE
ENABLE_EMOJI Enable Github Emojis FALSE
MAIL_FROM_NAME From Name for above address Cachet
MAIL_FROM Mail From address [email protected]
SETUP_TYPE Automatically edit configuration after first bootup AUTO MANUAL
SITE_URL The url your site listens on example https://cachet.example.com

Networking

The following ports are exposed.

Port Description
80 HTTP

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. cachet) bash

References

docker-cachet's People

Contributors

tiredofit avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.