zammad-docker-compose/docker-compose-build.yml

42 lines
746 B
YAML
Raw Normal View History

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