2022-04-25 21:13:34 +00:00
|
|
|
---
|
2021-10-05 19:25:26 +00:00
|
|
|
version: '3'
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2016-12-17 11:10:51 +00:00
|
|
|
services:
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-07-22 13:14:20 +00:00
|
|
|
zammad-backup:
|
2017-11-26 20:25:57 +00:00
|
|
|
command: ["zammad-backup"]
|
2017-07-22 13:14:20 +00:00
|
|
|
depends_on:
|
2017-10-02 21:41:16 +00:00
|
|
|
- zammad-railsserver
|
2021-10-05 19:25:26 +00:00
|
|
|
- zammad-postgresql
|
2017-11-26 20:25:57 +00:00
|
|
|
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}
|
2020-03-06 13:41:59 +00:00
|
|
|
- POSTGRESQL_PASSWORD=${POSTGRES_PASS}
|
2022-11-04 18:30:32 +00:00
|
|
|
image: postgres:15.0-alpine
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-07-22 13:14:20 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-backup:/var/tmp/zammad
|
2022-11-04 18:30:32 +00:00
|
|
|
- zammad-data:/opt/zammad:ro
|
|
|
|
- ./scripts/backup.sh:/usr/local/bin/backup.sh:ro
|
2020-02-25 19:00:31 +00:00
|
|
|
|
2017-03-08 18:37:05 +00:00
|
|
|
zammad-elasticsearch:
|
2022-11-04 18:30:32 +00:00
|
|
|
image: bitnami/elasticsearch:8.5.0
|
2020-02-25 19:00:31 +00:00
|
|
|
restart: ${RESTART}
|
2017-07-28 09:50:34 +00:00
|
|
|
volumes:
|
2022-11-04 18:30:32 +00:00
|
|
|
- elasticsearch-data:/bitnami/elasticsearch/data
|
2017-11-26 20:25:57 +00:00
|
|
|
|
|
|
|
zammad-init:
|
|
|
|
command: ["zammad-init"]
|
|
|
|
depends_on:
|
|
|
|
- zammad-postgresql
|
2020-03-26 12:34:05 +00:00
|
|
|
environment:
|
2021-10-06 12:16:13 +00:00
|
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
2020-03-26 12:34:05 +00:00
|
|
|
- POSTGRESQL_USER=${POSTGRES_USER}
|
2020-12-07 12:41:12 +00:00
|
|
|
- POSTGRESQL_PASS=${POSTGRES_PASS}
|
2021-10-06 12:16:13 +00:00
|
|
|
- REDIS_URL=${REDIS_URL}
|
2022-11-08 15:08:16 +00:00
|
|
|
image: ${IMAGE_REPO}:${VERSION}
|
2017-11-26 20:25:57 +00:00
|
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
|
|
- zammad-data:/opt/zammad
|
|
|
|
|
|
|
|
zammad-memcached:
|
2020-02-24 16:50:19 +00:00
|
|
|
command: memcached -m 256M
|
2022-11-04 18:30:32 +00:00
|
|
|
image: memcached:1.6.17-alpine
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2017-03-08 18:37:05 +00:00
|
|
|
zammad-nginx:
|
2017-11-26 20:25:57 +00:00
|
|
|
command: ["zammad-nginx"]
|
2020-02-25 19:00:31 +00:00
|
|
|
expose:
|
2021-03-18 20:53:46 +00:00
|
|
|
- "8080"
|
2017-01-09 14:52:53 +00:00
|
|
|
depends_on:
|
2017-10-02 21:41:16 +00:00
|
|
|
- zammad-railsserver
|
2022-11-08 15:08:16 +00:00
|
|
|
image: ${IMAGE_REPO}:${VERSION}
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-01-06 12:10:15 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-data:/opt/zammad
|
2017-01-12 13:14:25 +00:00
|
|
|
|
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}
|
2022-11-04 18:30:32 +00:00
|
|
|
image: postgres:15.0-alpine
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-12-03 18:41:55 +00:00
|
|
|
volumes:
|
|
|
|
- postgresql-data:/var/lib/postgresql/data
|
2017-01-12 13:14:25 +00:00
|
|
|
|
|
|
|
zammad-railsserver:
|
2017-11-26 20:25:57 +00:00
|
|
|
command: ["zammad-railsserver"]
|
2017-04-05 20:09:51 +00:00
|
|
|
depends_on:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-memcached
|
2017-10-02 21:41:16 +00:00
|
|
|
- zammad-postgresql
|
2021-10-05 19:25:26 +00:00
|
|
|
- zammad-redis
|
2021-10-06 12:16:13 +00:00
|
|
|
environment:
|
|
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
|
|
- REDIS_URL=${REDIS_URL}
|
2022-11-08 15:08:16 +00:00
|
|
|
image: ${IMAGE_REPO}:${VERSION}
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-04-05 20:09:51 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-data:/opt/zammad
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2021-10-05 19:25:26 +00:00
|
|
|
zammad-redis:
|
|
|
|
image: redis:6.2.5-alpine
|
|
|
|
restart: ${RESTART}
|
|
|
|
|
2017-01-12 13:14:25 +00:00
|
|
|
zammad-scheduler:
|
2017-11-26 20:25:57 +00:00
|
|
|
command: ["zammad-scheduler"]
|
2017-04-05 20:09:51 +00:00
|
|
|
depends_on:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-memcached
|
2017-10-02 21:41:16 +00:00
|
|
|
- zammad-railsserver
|
2021-10-05 19:25:26 +00:00
|
|
|
- zammad-redis
|
2021-10-06 12:16:13 +00:00
|
|
|
environment:
|
|
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
|
|
- REDIS_URL=${REDIS_URL}
|
2022-11-08 15:08:16 +00:00
|
|
|
image: ${IMAGE_REPO}:${VERSION}
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-04-05 20:09:51 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-data:/opt/zammad
|
2017-01-12 13:14:25 +00:00
|
|
|
|
|
|
|
zammad-websocket:
|
2017-11-26 20:25:57 +00:00
|
|
|
command: ["zammad-websocket"]
|
2017-04-05 20:09:51 +00:00
|
|
|
depends_on:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-memcached
|
2017-10-02 21:41:16 +00:00
|
|
|
- zammad-railsserver
|
2021-10-05 19:25:26 +00:00
|
|
|
- zammad-redis
|
2021-10-06 12:16:13 +00:00
|
|
|
environment:
|
|
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
|
|
- REDIS_URL=${REDIS_URL}
|
2022-11-08 15:08:16 +00:00
|
|
|
image: ${IMAGE_REPO}:${VERSION}
|
2018-08-16 10:40:41 +00:00
|
|
|
restart: ${RESTART}
|
2017-04-05 20:09:51 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
- zammad-data:/opt/zammad
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2016-12-17 11:10:51 +00:00
|
|
|
volumes:
|
2017-11-26 20:25:57 +00:00
|
|
|
elasticsearch-data:
|
2017-07-22 13:14:20 +00:00
|
|
|
driver: local
|
2017-12-03 18:41:55 +00:00
|
|
|
postgresql-data:
|
|
|
|
driver: local
|
2017-11-26 20:25:57 +00:00
|
|
|
zammad-backup:
|
2017-01-05 14:35:38 +00:00
|
|
|
driver: local
|
2017-11-26 20:25:57 +00:00
|
|
|
zammad-data:
|
2017-07-28 09:50:34 +00:00
|
|
|
driver: local
|