5bcd41057a
* update images Signed-off-by: André Bauer <andre.bauer@staffbase.com> * remove unneeded dummey dockerfile Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix superlinter Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix stale.yml Signed-off-by: André Bauer <andre.bauer@staffbase.com> * update version Signed-off-by: André Bauer <andre.bauer@staffbase.com> * remove codespell Signed-off-by: André Bauer <andre.bauer@staffbase.com> * add fetcfh depth Signed-off-by: André Bauer <andre.bauer@staffbase.com> * fix codepsell removal Signed-off-by: André Bauer <andre.bauer@staffbase.com> * enable VALIDATE_ALL_CODEBASE Signed-off-by: André Bauer <andre.bauer@staffbase.com>
125 lines
2.9 KiB
YAML
125 lines
2.9 KiB
YAML
---
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
zammad-backup:
|
|
command: ["zammad-backup"]
|
|
depends_on:
|
|
- zammad-railsserver
|
|
- zammad-postgresql
|
|
entrypoint: /usr/local/bin/backup.sh
|
|
environment:
|
|
- BACKUP_SLEEP=86400
|
|
- HOLD_DAYS=10
|
|
- POSTGRESQL_USER=${POSTGRES_USER}
|
|
- POSTGRESQL_PASSWORD=${POSTGRES_PASS}
|
|
image: ${IMAGE_REPO}:zammad-postgresql${VERSION}
|
|
restart: ${RESTART}
|
|
volumes:
|
|
- zammad-backup:/var/tmp/zammad
|
|
- zammad-data:/opt/zammad
|
|
|
|
zammad-elasticsearch:
|
|
environment:
|
|
- discovery.type=single-node
|
|
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:
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
- POSTGRESQL_USER=${POSTGRES_USER}
|
|
- POSTGRESQL_PASS=${POSTGRES_PASS}
|
|
- REDIS_URL=${REDIS_URL}
|
|
image: ${IMAGE_REPO}:zammad${VERSION}
|
|
restart: on-failure
|
|
volumes:
|
|
- zammad-data:/opt/zammad
|
|
|
|
zammad-memcached:
|
|
command: memcached -m 256M
|
|
image: memcached:1.6.10-alpine
|
|
restart: ${RESTART}
|
|
|
|
zammad-nginx:
|
|
command: ["zammad-nginx"]
|
|
expose:
|
|
- "8080"
|
|
depends_on:
|
|
- zammad-railsserver
|
|
image: ${IMAGE_REPO}:zammad${VERSION}
|
|
restart: ${RESTART}
|
|
volumes:
|
|
- zammad-data:/opt/zammad
|
|
|
|
zammad-postgresql:
|
|
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"]
|
|
depends_on:
|
|
- zammad-memcached
|
|
- zammad-postgresql
|
|
- zammad-redis
|
|
environment:
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
- REDIS_URL=${REDIS_URL}
|
|
image: ${IMAGE_REPO}:zammad${VERSION}
|
|
restart: ${RESTART}
|
|
volumes:
|
|
- zammad-data:/opt/zammad
|
|
|
|
zammad-redis:
|
|
image: redis:6.2.5-alpine
|
|
restart: ${RESTART}
|
|
|
|
zammad-scheduler:
|
|
command: ["zammad-scheduler"]
|
|
depends_on:
|
|
- zammad-memcached
|
|
- zammad-railsserver
|
|
- zammad-redis
|
|
environment:
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
- REDIS_URL=${REDIS_URL}
|
|
image: ${IMAGE_REPO}:zammad${VERSION}
|
|
restart: ${RESTART}
|
|
volumes:
|
|
- zammad-data:/opt/zammad
|
|
|
|
zammad-websocket:
|
|
command: ["zammad-websocket"]
|
|
depends_on:
|
|
- zammad-memcached
|
|
- zammad-railsserver
|
|
- zammad-redis
|
|
environment:
|
|
- MEMCACHE_SERVERS=${MEMCACHE_SERVERS}
|
|
- REDIS_URL=${REDIS_URL}
|
|
image: ${IMAGE_REPO}:zammad${VERSION}
|
|
restart: ${RESTART}
|
|
volumes:
|
|
- zammad-data:/opt/zammad
|
|
|
|
volumes:
|
|
elasticsearch-data:
|
|
driver: local
|
|
postgresql-data:
|
|
driver: local
|
|
zammad-backup:
|
|
driver: local
|
|
zammad-data:
|
|
driver: local
|