From 2191312e8c963f183fee3f491e7020587c30d673 Mon Sep 17 00:00:00 2001 From: kev Date: Thu, 13 Jul 2017 17:07:11 +0800 Subject: [PATCH] add cachet --- README.md | 1 + cachet/README.md | 6 ++++++ cachet/docker-compose.yml | 27 +++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 cachet/README.md create mode 100644 cachet/docker-compose.yml diff --git a/README.md b/README.md index 4771090..53a83d2 100644 --- a/README.md +++ b/README.md @@ -226,6 +226,7 @@ A collection of delicious docker recipes. ## 3rd-party +- [x] cachethq/docker - [x] centurylink/watchtower - [x] certbot - [x] drone/drone diff --git a/cachet/README.md b/cachet/README.md new file mode 100644 index 0000000..4183de4 --- /dev/null +++ b/cachet/README.md @@ -0,0 +1,6 @@ +cachet +====== + +[Cachet][1] is a beautiful and powerful open source status page system. + +[1]: https://cachethq.io/ diff --git a/cachet/docker-compose.yml b/cachet/docker-compose.yml new file mode 100644 index 0000000..ed707c5 --- /dev/null +++ b/cachet/docker-compose.yml @@ -0,0 +1,27 @@ +cachet: + image: cachethq/docker + ports: + - 8000:8000 + links: + - postgres + environment: + - DB_DRIVER=pgsql + - DB_HOST=postgres + - DB_PORT=5432 + - DB_DATABASE=postgres + - DB_USERNAME=postgres + - DB_PASSWORD=postgres + - DB_PREFIX=chq_ + - APP_KEY=XXXXXXXX + - DEBUG=false + restart: always + +postgres: + image: postgres:alpine + volumes: + - ./data:/var/lib/postgresql/data + environment: + - POSTGRES_DB=postgres + - POSTGRES_USER=postgres + - POSTGRES_PASSWORD=postgres + restart: always