1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:31 +02:00

add cachet

This commit is contained in:
kev 2017-07-13 17:07:11 +08:00
parent 693dbd9be9
commit 2191312e8c
3 changed files with 34 additions and 0 deletions

View File

@ -226,6 +226,7 @@ A collection of delicious docker recipes.
## 3rd-party
- [x] cachethq/docker
- [x] centurylink/watchtower
- [x] certbot
- [x] drone/drone

6
cachet/README.md Normal file
View File

@ -0,0 +1,6 @@
cachet
======
[Cachet][1] is a beautiful and powerful open source status page system.
[1]: https://cachethq.io/

27
cachet/docker-compose.yml Normal file
View File

@ -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