zammad-docker-compose/docker-compose.yml
2017-01-12 14:14:25 +01:00

69 lines
1.3 KiB
YAML

version: '2'
services:
elasticsearch:
image: zammad/zammad-docker-compose:elasticsearch
restart: always
nginx:
depends_on:
- zammad
image: zammad/zammad-docker-compose:nginx
links:
- zammad-railsserver
- zammad-websocket
ports:
- "80:80"
restart: always
volumes:
- data-zammad:/home/zammad
postgresql:
image: zammad/zammad-docker-compose:postgresql
restart: always
zammad:
image: zammad/zammad-docker-compose:zammad
restart: on-failure
volumes:
- data-zammad:/home/zammad
zammad-railsserver:
image: zammad/zammad-docker-compose:zammad-railsserver
links:
- elasticsearch
- postgresql
- zammad
depends_on:
- elasticsearch
- postgresql
- zammad
restart: always
zammad-scheduler:
image: zammad/zammad-docker-compose:zammad-scheduler
links:
- elasticsearch
- postgresql
- zammad
depends_on:
- elasticsearch
- postgresql
- zammad
restart: always
zammad-websocket:
image: zammad/zammad-docker-compose:zammad-websocket
links:
- postgresql
- zammad
depends_on:
- postgresql
- zammad
restart: always
volumes:
data-zammad:
driver: local