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