zammad-docker-compose/docker-compose.yml

95 lines
2.2 KiB
YAML
Raw Normal View History

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