zammad-docker-compose/docker-compose.yml

107 lines
2.3 KiB
YAML
Raw Normal View History

version: '3.3'
2016-12-17 11:10:51 +00:00
services:
2017-03-08 18:37:05 +00:00
zammad:
depends_on:
- zammad-elasticsearch
- zammad-postgresql
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-backup:
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-backup
labels:
io.rancher.container.pull_image: always
links:
- zammad-postgresql
restart: always
volumes:
- data-zammad:/home/zammad
- backup-zammad:/var/tmp/zammad
2017-03-08 18:37:05 +00:00
zammad-elasticsearch:
image: zammad/zammad-docker-compose:zammad-elasticsearch
labels:
io.rancher.container.pull_image: always
2017-01-09 14:52:53 +00:00
restart: always
volumes:
- data-elasticsearch:/usr/share/elasticsearch/data
2017-03-08 18:37:05 +00:00
zammad-nginx:
2017-01-09 14:52:53 +00:00
depends_on:
- zammad
2017-03-08 18:37:05 +00:00
image: zammad/zammad-docker-compose:zammad-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
2017-03-08 18:37:05 +00:00
zammad-postgresql:
image: zammad/zammad-docker-compose:zammad-postgresql
labels:
io.rancher.container.pull_image: always
2017-01-09 14:52:53 +00:00
restart: always
zammad-railsserver:
2017-04-05 20:09:51 +00:00
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-railsserver
labels:
io.rancher.container.pull_image: always
2016-12-17 11:10:51 +00:00
links:
2017-03-08 18:37:05 +00:00
- zammad-elasticsearch
- zammad-postgresql
2016-12-17 11:10:51 +00:00
depends_on:
- zammad
restart: always
2017-04-05 20:09:51 +00:00
volumes:
- data-zammad:/home/zammad
zammad-scheduler:
2017-04-05 20:09:51 +00:00
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-scheduler
labels:
io.rancher.container.pull_image: always
links:
2017-03-08 18:37:05 +00:00
- zammad-elasticsearch
- zammad-postgresql
2017-01-09 14:52:53 +00:00
restart: always
2017-04-05 20:09:51 +00:00
volumes:
- data-zammad:/home/zammad
zammad-websocket:
2017-04-05 20:09:51 +00:00
depends_on:
- zammad
image: zammad/zammad-docker-compose:zammad-websocket
labels:
io.rancher.container.pull_image: always
links:
2017-03-08 18:37:05 +00:00
- zammad-postgresql
- zammad
restart: always
2017-04-05 20:09:51 +00:00
volumes:
- data-zammad:/home/zammad
2016-12-17 11:10:51 +00:00
volumes:
backup-zammad:
driver: local
data-zammad:
driver: local
data-elasticsearch:
driver: local