zammad-docker-compose/docker-compose.yml
2016-12-17 12:10:51 +01:00

39 lines
678 B
YAML

version: '2'
services:
postgresql:
image: postgres
elasticsearch:
build:
context: .
dockerfile: Dockerfile.elasticsearch
zammad:
build:
context: .
dockerfile: Dockerfile.zammad
links:
- postgresql
- elasticsearch
depends_on:
- postgresql
- elasticsearch
volumes:
- data-zammad:/home/zammad
- data-ruby:/usr/local
nginx:
build:
context: .
dockerfile: Dockerfile.nginx
ports:
- "80:80"
links:
- zammad
depends_on:
- zammad
volumes:
- data-zammad:/home/zammad
volumes:
data-zammad:
driver: local
data-ruby:
driver: local