2022-04-25 21:13:34 +00:00
|
|
|
---
|
2023-06-21 14:05:23 +00:00
|
|
|
version: '3.8'
|
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:
|
2023-05-12 18:51:57 +00:00
|
|
|
- BACKUP_TIME=03:00
|
2020-02-25 19:00:31 +00:00
|
|
|
- HOLD_DAYS=10
|
2023-06-14 11:27:25 +00:00
|
|
|
- POSTGRESQL_DB=${POSTGRES_DB}
|
2020-02-25 19:00:31 +00:00
|
|
|
- POSTGRESQL_USER=${POSTGRES_USER}
|
2020-03-06 13:41:59 +00:00
|
|
|
- POSTGRESQL_PASSWORD=${POSTGRES_PASS}
|
2023-05-12 18:51:57 +00:00
|
|
|
- TZ=Europe/Berlin
|
2022-12-23 20:21:40 +00:00
|
|
|
image: postgres:${POSTGRES_VERSION}
|
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
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-var:/opt/zammad/var:ro
|
2022-11-04 18:30:32 +00:00
|
|
|
- ./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:
|
2023-06-21 14:05:23 +00:00
|
|
|
image: bitnami/elasticsearch:${ELASTICSEARCH_VERSION}
|
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}
|
|
|
|
- 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
|
2023-06-21 14:05:23 +00:00
|
|
|
user: 0:0
|
2017-11-26 20:25:57 +00:00
|
|
|
volumes:
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-config-nginx:/etc/nginx/sites-enabled
|
|
|
|
- zammad-var:/opt/zammad/var
|
2017-11-26 20:25:57 +00:00
|
|
|
|
|
|
|
zammad-memcached:
|
2020-02-24 16:50:19 +00:00
|
|
|
command: memcached -m 256M
|
2023-06-21 14:05:23 +00:00
|
|
|
image: memcached:${MEMCACHE_VERSION}
|
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:
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-config-nginx:/etc/nginx/sites-enabled:ro
|
|
|
|
- zammad-var:/opt/zammad/var:ro
|
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:
|
2023-06-14 11:27:25 +00:00
|
|
|
- POSTGRES_DB=${POSTGRES_DB}
|
2020-02-25 19:00:31 +00:00
|
|
|
- POSTGRES_USER=${POSTGRES_USER}
|
|
|
|
- POSTGRES_PASSWORD=${POSTGRES_PASS}
|
2022-12-23 20:21:40 +00:00
|
|
|
image: postgres:${POSTGRES_VERSION}
|
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:
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-var:/opt/zammad/var
|
2017-01-12 13:14:25 +00:00
|
|
|
|
2021-10-05 19:25:26 +00:00
|
|
|
zammad-redis:
|
2023-06-21 14:05:23 +00:00
|
|
|
image: redis:${REDIS_VERSION}
|
2021-10-05 19:25:26 +00:00
|
|
|
restart: ${RESTART}
|
2023-06-21 14:05:23 +00:00
|
|
|
volumes:
|
|
|
|
- redis-data:/data
|
2021-10-05 19:25:26 +00:00
|
|
|
|
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:
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-var:/opt/zammad/var
|
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:
|
2023-06-21 14:05:23 +00:00
|
|
|
- zammad-var:/opt/zammad/var
|
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
|
2023-06-21 14:05:23 +00:00
|
|
|
redis-data:
|
|
|
|
driver: local
|
2017-11-26 20:25:57 +00:00
|
|
|
zammad-backup:
|
2017-01-05 14:35:38 +00:00
|
|
|
driver: local
|
2023-06-21 14:05:23 +00:00
|
|
|
zammad-config-nginx:
|
|
|
|
driver: local
|
|
|
|
zammad-var:
|
2017-07-28 09:50:34 +00:00
|
|
|
driver: local
|