zammad-docker-compose/docker-compose.yml
2017-01-26 09:02:26 +01:00

84 lines
1.7 KiB
YAML

version: '2'
services:
elasticsearch:
image: zammad/zammad-docker-compose:elasticsearch
labels:
io.rancher.container.pull_image: always
restart: always
nginx:
depends_on:
- zammad
image: zammad/zammad-docker-compose:nginx
labels:
io.rancher.container.pull_image: always
links:
- zammad-railsserver
- zammad-websocket
ports:
- "80:80"
restart: always
volumes:
- data-zammad:/home/zammad
postgresql:
image: zammad/zammad-docker-compose:postgresql
labels:
io.rancher.container.pull_image: always
restart: always
zammad:
image: zammad/zammad-docker-compose:zammad
labels:
io.rancher.container.pull_image: always
io.rancher.container.start_once: 'true'
restart: on-failure
volumes:
- data-zammad:/home/zammad
zammad-railsserver:
image: zammad/zammad-docker-compose:zammad-railsserver
labels:
io.rancher.container.pull_image: always
links:
- elasticsearch
- postgresql
- zammad
depends_on:
- elasticsearch
- postgresql
- zammad
restart: always
zammad-scheduler:
image: zammad/zammad-docker-compose:zammad-scheduler
labels:
io.rancher.container.pull_image: always
links:
- elasticsearch
- postgresql
- zammad
depends_on:
- elasticsearch
- postgresql
- zammad
restart: always
zammad-websocket:
image: zammad/zammad-docker-compose:zammad-websocket
labels:
io.rancher.container.pull_image: always
links:
- postgresql
- zammad
depends_on:
- postgresql
- zammad
restart: always
volumes:
data-zammad:
driver: local