2017-01-06 12:10:15 +00:00
|
|
|
version: '2'
|
|
|
|
services:
|
|
|
|
elasticsearch:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.elasticsearch
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-06 12:10:15 +00:00
|
|
|
nginx:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.nginx
|
|
|
|
depends_on:
|
|
|
|
- zammad
|
2017-01-09 14:52:53 +00:00
|
|
|
links:
|
|
|
|
- zammad
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
restart: always
|
2017-01-06 12:10:15 +00:00
|
|
|
volumes:
|
|
|
|
- data-zammad:/home/zammad
|
|
|
|
postgresql:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.postgresql
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-06 12:10:15 +00:00
|
|
|
zammad:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.zammad
|
2017-01-09 14:52:53 +00:00
|
|
|
depends_on:
|
2017-01-06 12:10:15 +00:00
|
|
|
- postgresql
|
|
|
|
- elasticsearch
|
2017-01-09 14:52:53 +00:00
|
|
|
links:
|
2017-01-06 12:10:15 +00:00
|
|
|
- postgresql
|
|
|
|
- elasticsearch
|
2017-01-09 14:52:53 +00:00
|
|
|
restart: always
|
2017-01-06 12:10:15 +00:00
|
|
|
volumes:
|
|
|
|
- data-zammad:/home/zammad
|
|
|
|
volumes:
|
|
|
|
data-zammad:
|
|
|
|
driver: local
|