zammad-docker-compose/docker-compose.yml

124 lines
2.8 KiB
YAML
Raw Permalink Normal View History

version: '2'
2016-12-17 11:10:51 +00:00
services:
zammad-backup:
command: ["zammad-backup"]
depends_on:
- zammad-railsserver
entrypoint: /usr/local/bin/backup.sh
2020-02-25 19:00:31 +00:00
environment:
- BACKUP_SLEEP=86400
- HOLD_DAYS=10
- POSTGRESQL_USER=${POSTGRES_USER}
- POSTGRESQL_PASSWORD=${POSTGRES_PASS}
image: ${IMAGE_REPO}:zammad-postgresql${VERSION}
links:
- zammad-postgresql
restart: ${RESTART}
volumes:
- zammad-backup:/var/tmp/zammad
- zammad-data:/opt/zammad
2020-02-25 19:00:31 +00:00
2017-03-08 18:37:05 +00:00
zammad-elasticsearch:
2020-02-21 16:50:30 +00:00
environment:
- discovery.type=single-node
2020-02-25 19:00:31 +00:00
image: ${IMAGE_REPO}:zammad-elasticsearch${VERSION}
restart: ${RESTART}
volumes:
- elasticsearch-data:/usr/share/elasticsearch/data
zammad-init:
command: ["zammad-init"]
depends_on:
- zammad-postgresql
environment:
- POSTGRESQL_USER=${POSTGRES_USER}
- POSTGRESQL_PASS=${POSTGRES_PASS}
image: ${IMAGE_REPO}:zammad${VERSION}
links:
- zammad-elasticsearch
- zammad-postgresql
restart: on-failure
volumes:
- zammad-data:/opt/zammad
zammad-memcached:
command: memcached -m 256M
image: memcached:1.6.9-alpine
restart: ${RESTART}
2017-03-08 18:37:05 +00:00
zammad-nginx:
command: ["zammad-nginx"]
2020-02-25 19:00:31 +00:00
expose:
- "80"
2017-01-09 14:52:53 +00:00
depends_on:
- zammad-railsserver
image: ${IMAGE_REPO}:zammad${VERSION}
links:
- zammad-railsserver
- zammad-websocket
restart: ${RESTART}
volumes:
- zammad-data:/opt/zammad
2017-03-08 18:37:05 +00:00
zammad-postgresql:
2020-02-25 19:00:31 +00:00
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PASS}
image: ${IMAGE_REPO}:zammad-postgresql${VERSION}
restart: ${RESTART}
volumes:
- postgresql-data:/var/lib/postgresql/data
zammad-railsserver:
command: ["zammad-railsserver"]
2017-04-05 20:09:51 +00:00
depends_on:
- zammad-memcached
- zammad-postgresql
image: ${IMAGE_REPO}:zammad${VERSION}
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: ${RESTART}
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}
links:
2017-03-08 18:37:05 +00:00
- zammad-elasticsearch
- zammad-memcached
2017-03-08 18:37:05 +00:00
- zammad-postgresql
restart: ${RESTART}
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}
links:
2017-03-08 18:37:05 +00:00
- zammad-postgresql
- zammad-memcached
restart: ${RESTART}
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
postgresql-data:
driver: local
zammad-backup:
driver: local
zammad-data:
driver: local