mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-12 11:15:04 +02:00
28 lines
529 B
YAML
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
|