zammad-docker-compose/docker-compose.yml

84 lines
1.7 KiB
YAML
Raw Normal View History

2016-12-17 11:10:51 +00:00
version: '2'
2016-12-17 11:10:51 +00:00
services:
2016-12-17 11:10:51 +00:00
elasticsearch:
image: zammad/zammad-docker-compose:elasticsearch
labels:
io.rancher.container.pull_image: always
2017-01-09 14:52:53 +00:00
restart: always
nginx:
2017-01-09 14:52:53 +00:00
depends_on:
- zammad
image: zammad/zammad-docker-compose:nginx
labels:
io.rancher.container.pull_image: always
links:
- zammad-railsserver
- zammad-websocket
2017-01-09 14:52:53 +00:00
ports:
- "80:80"
restart: always
volumes:
- data-zammad:/home/zammad
postgresql:
image: zammad/zammad-docker-compose:postgresql
labels:
io.rancher.container.pull_image: always
2017-01-09 14:52:53 +00:00
restart: always
2016-12-17 11:10:51 +00:00
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
2016-12-17 11:10:51 +00:00
links:
- elasticsearch
- postgresql
- zammad
2016-12-17 11:10:51 +00:00
depends_on:
- elasticsearch
2016-12-17 11:10:51 +00:00
- postgresql
- zammad
restart: always
zammad-scheduler:
image: zammad/zammad-docker-compose:zammad-scheduler
labels:
io.rancher.container.pull_image: always
links:
2016-12-17 11:10:51 +00:00
- elasticsearch
- postgresql
- zammad
depends_on:
- elasticsearch
- postgresql
- zammad
2017-01-09 14:52:53 +00:00
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
2016-12-17 11:10:51 +00:00
volumes:
data-zammad:
driver: local