1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-27 02:09:06 +02:00
dockerfiles/cachet/docker-compose.yml
2017-07-13 17:07:11 +08:00

28 lines
529 B
YAML

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