zammad-docker-compose/docker-compose.yml

123 lines
2.8 KiB
YAML
Raw Normal View History

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