Implement minimal Zammad support desk and verified workflow
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
COMPOSE_PROJECT_NAME=dos-support
|
||||
ZAMMAD_NGINX_EXTERNAL_NETWORK=myfileagent-gitea_edge
|
||||
ZAMMAD_FQDN=support.myfileagent.tech
|
||||
ZAMMAD_HTTP_TYPE=https
|
||||
NGINX_SERVER_SCHEME=https
|
||||
POSTGRES_PASS=REPLACE_WITH_UNIQUE_PRIVATE_VALUE
|
||||
POSTGRES_SUPERUSER_PASS=REPLACE_WITH_UNIQUE_PRIVATE_VALUE
|
||||
ELASTICSEARCH_PASS=REPLACE_WITH_UNIQUE_PRIVATE_VALUE
|
||||
BACKUP_ON_START=true
|
||||
TZ=America/New_York
|
||||
COMPOSE_FILE=docker-compose.yml:scenarios/add-external-network-to-nginx.yml:scenarios/apply-resource-limits.yml:local/minimal.yml
|
||||
ELASTICSEARCH_JAVA_OPTS=-Xms128m -Xmx128m
|
||||
ZAMMAD_WEB_CONCURRENCY=0
|
||||
ZAMMAD_PROCESS_SESSIONS_JOBS_WORKERS=1
|
||||
ZAMMAD_MANAGE_SESSIONS_JOBS_WORKERS=1
|
||||
ZAMMAD_PROCESS_SCHEDULED_JOBS_WORKERS=1
|
||||
ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS=1
|
||||
ZAMMAD_PROCESS_DELAYED_JOBS_WORKER_THREADS=1
|
||||
ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKERS=1
|
||||
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_WORKERS=1
|
||||
ZAMMAD_ELASTICSEARCH_RESOURCES_LIMITS_MEMORY=384M
|
||||
ZAMMAD_ELASTICSEARCH_RESOURCES_LIMITS_CPUS=.35
|
||||
ZAMMAD_RAILSSERVER_RESOURCES_LIMITS_MEMORY=384M
|
||||
ZAMMAD_RAILSSERVER_RESOURCES_LIMITS_CPUS=.40
|
||||
ZAMMAD_SCHEDULER_RESOURCES_LIMITS_MEMORY=384M
|
||||
ZAMMAD_SCHEDULER_RESOURCES_LIMITS_CPUS=.25
|
||||
ZAMMAD_WEBSOCKET_RESOURCES_LIMITS_MEMORY=192M
|
||||
ZAMMAD_WEBSOCKET_RESOURCES_LIMITS_CPUS=.15
|
||||
ZAMMAD_INIT_RESOURCES_LIMITS_MEMORY=512M
|
||||
ZAMMAD_INIT_RESOURCES_LIMITS_CPUS=.35
|
||||
ZAMMAD_BACKUP_RESOURCES_LIMITS_MEMORY=192M
|
||||
ZAMMAD_BACKUP_RESOURCES_LIMITS_CPUS=.15
|
||||
ZAMMAD_POSTGRESQL_RESOURCES_LIMITS_MEMORY=128M
|
||||
ZAMMAD_POSTGRESQL_RESOURCES_LIMITS_CPUS=.25
|
||||
ZAMMAD_REDIS_RESOURCES_LIMITS_MEMORY=48M
|
||||
ZAMMAD_REDIS_RESOURCES_LIMITS_CPUS=.10
|
||||
ZAMMAD_MEMCACHED_RESOURCES_LIMITS_MEMORY=32M
|
||||
ZAMMAD_MEMCACHED_RESOURCES_LIMITS_CPUS=.10
|
||||
ZAMMAD_NGINX_RESOURCES_LIMITS_MEMORY=64M
|
||||
ZAMMAD_NGINX_RESOURCES_LIMITS_CPUS=.15
|
||||
@@ -0,0 +1,3 @@
|
||||
.env
|
||||
*.private.json
|
||||
.env.before*
|
||||
@@ -0,0 +1,3 @@
|
||||
support.myfileagent.tech {
|
||||
reverse_proxy zammad-nginx:8080
|
||||
}
|
||||
@@ -0,0 +1,337 @@
|
||||
---
|
||||
x-shared:
|
||||
zammad-service: &zammad-service
|
||||
environment: &zammad-environment
|
||||
MEMCACHE_SERVERS: ${MEMCACHE_SERVERS:-zammad-memcached:11211}
|
||||
POSTGRESQL_DB: ${POSTGRES_DB:-zammad_production}
|
||||
POSTGRESQL_HOST: ${POSTGRES_HOST:-zammad-postgresql}
|
||||
POSTGRESQL_USER: ${POSTGRES_USER:-zammad}
|
||||
POSTGRESQL_PASS: ${POSTGRES_PASS:-zammad}
|
||||
POSTGRESQL_PORT: ${POSTGRES_PORT:-5432}
|
||||
POSTGRESQL_OPTIONS: ${POSTGRESQL_OPTIONS:-?pool=50}
|
||||
# The bundled zammad-postgresql service creates the database up front, and its
|
||||
# application role is deliberately not allowed to create databases. Set this to
|
||||
# 'true' if you point Zammad at an external server and want it to create the
|
||||
# database itself - the configured role then needs the CREATEDB attribute.
|
||||
POSTGRESQL_DB_CREATE: ${POSTGRESQL_DB_CREATE:-false}
|
||||
|
||||
# Redis standalone
|
||||
REDIS_URL: ${REDIS_URL:-redis://zammad-redis:6379}
|
||||
# Redis sentinel
|
||||
REDIS_SENTINELS:
|
||||
REDIS_SENTINEL_NAME:
|
||||
REDIS_USERNAME:
|
||||
REDIS_PASSWORD:
|
||||
REDIS_SENTINEL_USERNAME:
|
||||
REDIS_SENTINEL_PASSWORD:
|
||||
|
||||
S3_URL:
|
||||
# Backup settings
|
||||
BACKUP_DIR: "${BACKUP_DIR:-/var/tmp/zammad}"
|
||||
BACKUP_TIME: "${BACKUP_TIME:-03:00}"
|
||||
BACKUP_ON_START: "${BACKUP_ON_START:-false}"
|
||||
HOLD_DAYS: "${HOLD_DAYS:-10}"
|
||||
TZ: "${TZ:-Europe/Berlin}"
|
||||
# Allow passing in these variables via .env:
|
||||
AUTOWIZARD_JSON:
|
||||
AUTOWIZARD_RELATIVE_PATH:
|
||||
ELASTICSEARCH_ENABLED:
|
||||
ELASTICSEARCH_SCHEMA:
|
||||
ELASTICSEARCH_HOST:
|
||||
ELASTICSEARCH_PORT:
|
||||
ELASTICSEARCH_USER:
|
||||
ELASTICSEARCH_PASS:
|
||||
ELASTICSEARCH_NAMESPACE:
|
||||
ELASTICSEARCH_REINDEX:
|
||||
NGINX_PORT:
|
||||
NGINX_CLIENT_MAX_BODY_SIZE:
|
||||
NGINX_SERVER_NAME:
|
||||
NGINX_SERVER_SCHEME:
|
||||
RAILS_TRUSTED_PROXIES:
|
||||
ZAMMAD_HTTP_TYPE:
|
||||
ZAMMAD_FQDN:
|
||||
ZAMMAD_WEB_CONCURRENCY:
|
||||
ZAMMAD_MANAGE_SESSIONS_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_SESSIONS_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_SCHEDULED_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_DELAYED_JOBS_WORKER_THREADS:
|
||||
ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKER_THREADS:
|
||||
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_WORKERS:
|
||||
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_WORKER_THREADS:
|
||||
ZAMMAD_OTRS_IMPORT_READ_TIMEOUT:
|
||||
ZAMMAD_OTRS_IMPORT_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_OPEN_TIMEOUT:
|
||||
ZAMMAD_HTTP_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_AI_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_AI_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_ELASTICSEARCH_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_ELASTICSEARCH_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_ELASTICSEARCH_REINDEX_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_ELASTICSEARCH_REINDEX_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_IMPORT_ATTACHMENT_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_IMPORT_ATTACHMENT_TOTAL_TIMEOUT:
|
||||
ZAMMAD_HTTP_WEBHOOK_READ_TIMEOUT:
|
||||
ZAMMAD_HTTP_WEBHOOK_TOTAL_TIMEOUT:
|
||||
|
||||
# Allow disabling individual background services in the scheduler container.
|
||||
ZAMMAD_PROCESS_SESSIONS_JOBS_DISABLE:
|
||||
ZAMMAD_MANAGE_SESSIONS_JOBS_DISABLE:
|
||||
ZAMMAD_PROCESS_SCHEDULED_JOBS_DISABLE:
|
||||
ZAMMAD_PROCESS_DELAYED_JOBS_DISABLE:
|
||||
ZAMMAD_PROCESS_DELAYED_AI_JOBS_DISABLE:
|
||||
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_DISABLE:
|
||||
|
||||
ZAMMAD_GRAPHQL_INTROSPECTION:
|
||||
ZAMMAD_AI_API_URL:
|
||||
ZAMMAD_AI_TOKEN:
|
||||
ZAMMAD_UI_BULK_BACKGROUND_UPDATE_THRESHOLD:
|
||||
ZAMMAD_SETTING_TTL:
|
||||
ZAMMAD_SAFE_MODE:
|
||||
ZAMMAD_WEBSOCKET_SESSION_STORE_FORCE_FS_BACKEND:
|
||||
ZAMMAD_RAILSSERVER_PORT:
|
||||
|
||||
# ZAMMAD_SESSION_JOBS_CONCURRENT is deprecated, please use ZAMMAD_PROCESS_SESSIONS_JOBS_WORKERS instead.
|
||||
ZAMMAD_SESSION_JOBS_CONCURRENT:
|
||||
# Variables used by ngingx-proxy container for reverse proxy creations
|
||||
# for docs refer to https://github.com/nginx-proxy/nginx-proxy
|
||||
VIRTUAL_HOST:
|
||||
VIRTUAL_PORT:
|
||||
# Variables used by acme-companion for retrieval of LetsEncrypt certificate
|
||||
# for docs refer to https://github.com/nginx-proxy/acme-companion
|
||||
LETSENCRYPT_HOST:
|
||||
LETSENCRYPT_EMAIL:
|
||||
|
||||
image: ${IMAGE_REPO:-ghcr.io/zammad/zammad}:${VERSION:-7.2.3-0008}
|
||||
init: true
|
||||
restart: ${RESTART:-always}
|
||||
volumes:
|
||||
- zammad-backup:/var/tmp/zammad:ro # needed for waiting on restore operations
|
||||
- zammad-storage:/opt/zammad/storage
|
||||
depends_on:
|
||||
zammad-memcached:
|
||||
condition: service_healthy
|
||||
zammad-postgresql:
|
||||
condition: service_healthy
|
||||
zammad-redis:
|
||||
condition: service_healthy
|
||||
|
||||
services:
|
||||
zammad-backup:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-backup"]
|
||||
volumes:
|
||||
- zammad-backup:/var/tmp/zammad
|
||||
- zammad-storage:/opt/zammad/storage
|
||||
user: 0:0
|
||||
|
||||
zammad-elasticsearch:
|
||||
image: elasticsearch:${ELASTICSEARCH_VERSION:-9.5.5}
|
||||
restart: ${RESTART:-always}
|
||||
volumes:
|
||||
- elasticsearch-data:/usr/share/elasticsearch/data
|
||||
environment:
|
||||
discovery.type: single-node
|
||||
xpack.security.enabled: "false"
|
||||
ES_JAVA_OPTS: ${ELASTICSEARCH_JAVA_OPTS:--Xms1g -Xmx1g}
|
||||
|
||||
zammad-init:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-init"]
|
||||
restart: on-failure
|
||||
user: 0:0
|
||||
|
||||
zammad-memcached:
|
||||
command: memcached -m 256M
|
||||
image: memcached:${MEMCACHE_VERSION:-1.6.45-alpine}
|
||||
restart: ${RESTART:-always}
|
||||
healthcheck:
|
||||
test: ["CMD", "nc", "-z", "127.0.0.1", "11211"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
start_period: 10s
|
||||
retries: 5
|
||||
|
||||
zammad-nginx:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-nginx"]
|
||||
init: false
|
||||
expose:
|
||||
- "${NGINX_PORT:-8080}"
|
||||
ports:
|
||||
- "${NGINX_EXPOSE_PORT:-8080}:${NGINX_PORT:-8080}"
|
||||
depends_on:
|
||||
zammad-railsserver:
|
||||
condition: service_healthy
|
||||
|
||||
zammad-postgresql:
|
||||
# PostgreSQL tuning: dedicated variables for the settings the Zammad documentation
|
||||
# recommends to tune, plus POSTGRES_EXTRA_OPTS for any other setting as raw
|
||||
# -c flags - see .env.dist. Only variables that are set are passed to the server,
|
||||
# unset ones leave it completely untouched (including manual tuning in the data
|
||||
# volume). Compose word-splits the string into argv like a shell, so the
|
||||
# free-form POSTGRES_EXTRA_OPTS works without a shell wrapper.
|
||||
command: >-
|
||||
postgres
|
||||
${POSTGRES_MAX_CONNECTIONS:+-c max_connections=${POSTGRES_MAX_CONNECTIONS}}
|
||||
${POSTGRES_SHARED_BUFFERS:+-c shared_buffers=${POSTGRES_SHARED_BUFFERS}}
|
||||
${POSTGRES_TEMP_BUFFERS:+-c temp_buffers=${POSTGRES_TEMP_BUFFERS}}
|
||||
${POSTGRES_WORK_MEM:+-c work_mem=${POSTGRES_WORK_MEM}}
|
||||
${POSTGRES_MAX_STACK_DEPTH:+-c max_stack_depth=${POSTGRES_MAX_STACK_DEPTH}}
|
||||
${POSTGRES_EXTRA_OPTS:-}
|
||||
# Docker caps /dev/shm at 64MB - the one PostgreSQL-adjacent knob a -c flag cannot
|
||||
# reach. Raise it together with shared_buffers/work_mem, otherwise parallel query
|
||||
# workers can fail with "could not resize shared memory segment".
|
||||
shm_size: ${POSTGRES_SHM_SIZE:-64mb}
|
||||
environment:
|
||||
# The bootstrap role of the postgres image is always a superuser, so it is kept
|
||||
# separate from the role Zammad connects with and only used for administration.
|
||||
# Its password falls back to POSTGRES_PASS, so that hardening that one variable
|
||||
# does not silently leave a superuser behind on the default password.
|
||||
POSTGRES_USER: ${POSTGRES_SUPERUSER:-postgres}
|
||||
POSTGRES_PASSWORD: ${POSTGRES_SUPERUSER_PASS:-${POSTGRES_PASS:-zammad}}
|
||||
# Consumed by the initdb hook below, to provision Zammad's unprivileged role
|
||||
# and the database it owns.
|
||||
ZAMMAD_DB: ${POSTGRES_DB:-zammad_production}
|
||||
ZAMMAD_DB_USER: ${POSTGRES_USER:-zammad}
|
||||
ZAMMAD_DB_PASS: ${POSTGRES_PASS:-zammad}
|
||||
image: postgres:${POSTGRES_VERSION:-17.12-alpine}
|
||||
restart: ${RESTART:-always}
|
||||
volumes:
|
||||
- postgresql-data:/var/lib/postgresql/data
|
||||
configs:
|
||||
- source: postgresql-initdb
|
||||
target: /docker-entrypoint-initdb.d/10-create-zammad-role.sh
|
||||
mode: 0555
|
||||
healthcheck:
|
||||
# Connect over TCP as Zammad's own role rather than using pg_isready, which
|
||||
# reports success for an unknown role or database, and would also accept the
|
||||
# socket-only server that runs while the data directory is still initialising.
|
||||
# Dependent services wait for this healthcheck, so it has to establish that
|
||||
# the role and the database the initdb hook provisions exist and accept
|
||||
# connections.
|
||||
#
|
||||
# The password is supplied so that this keeps working where host connections
|
||||
# require authentication, for example with
|
||||
# POSTGRES_INITDB_ARGS=--auth-host=scram-sha-256. With the image default the
|
||||
# loopback address is trusted, so the credentials are not verified there.
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- |-
|
||||
PGPASSWORD="$${ZAMMAD_DB_PASS}" \
|
||||
psql --no-password --quiet --output /dev/null --variable ON_ERROR_STOP=1 \
|
||||
--host 127.0.0.1 --username "$${ZAMMAD_DB_USER}" \
|
||||
--dbname "$${ZAMMAD_DB}" --command "SELECT 1"
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
start_period: 60s
|
||||
retries: 5
|
||||
|
||||
zammad-railsserver:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-railsserver"]
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-sf", "http://127.0.0.1:${ZAMMAD_RAILSSERVER_PORT:-3000}"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
start_period: 120s
|
||||
retries: 3
|
||||
|
||||
zammad-redis:
|
||||
image: redis:${REDIS_VERSION:-8.10.3-alpine}
|
||||
restart: ${RESTART:-always}
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
healthcheck:
|
||||
test: ["CMD", "redis-cli", "ping"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
start_period: 10s
|
||||
retries: 5
|
||||
|
||||
zammad-scheduler:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-scheduler"]
|
||||
|
||||
zammad-websocket:
|
||||
<<: *zammad-service
|
||||
command: ["zammad-websocket"]
|
||||
|
||||
configs:
|
||||
postgresql-initdb:
|
||||
# Provisions the database that Zammad uses, owned by a dedicated login role.
|
||||
#
|
||||
# The postgres image unconditionally makes its bootstrap role a superuser. Zammad
|
||||
# does not need any superuser capability - it only owns its own database and
|
||||
# relies on the built-in plpgsql extension - so the application role is created
|
||||
# here as a plain login role, rather than reusing the bootstrap role.
|
||||
#
|
||||
# This runs only while an empty data directory is initialised. Installations whose
|
||||
# volume already exists keep the role layout they were created with, see the
|
||||
# README for how to migrate those.
|
||||
#
|
||||
# The content is inlined so that this file stays self-contained and can be
|
||||
# deployed as-is, for example by pasting it into Portainer. '$$' escapes Compose
|
||||
# interpolation, so those variables are expanded inside the container instead.
|
||||
content: |
|
||||
#!/bin/bash
|
||||
|
||||
set -o errexit
|
||||
set -o pipefail
|
||||
|
||||
# initdb has already run by the time this hook does, so a rejected configuration
|
||||
# cannot be repaired by correcting it and starting again: the data directory is
|
||||
# populated and the entrypoint never processes this directory a second time.
|
||||
# Say so, rather than leaving the operator with a role or database that is
|
||||
# merely reported missing later on.
|
||||
zammad_abort() {
|
||||
echo "$1" >&2
|
||||
echo "Correct this, then remove the postgresql-data volume and start again. The" >&2
|
||||
echo " database directory is already initialised, so this will not run twice." >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
# Zammad must not reuse the bootstrap role, which is always a superuser. This
|
||||
# cannot be enforced on later starts: the only reliable signal is this
|
||||
# comparison, and checking the role's actual attributes instead would mark
|
||||
# every installation predating this change as unhealthy.
|
||||
if [ "$${ZAMMAD_DB_USER}" = "$${POSTGRES_USER}" ]; then
|
||||
zammad_abort "POSTGRES_USER and POSTGRES_SUPERUSER must differ, the latter is a superuser."
|
||||
fi
|
||||
|
||||
# The system databases exist already, so they would keep the bootstrap role as
|
||||
# their owner, and Zammad would run inside a database it does not own.
|
||||
case "$${ZAMMAD_DB}" in
|
||||
postgres | template0 | template1)
|
||||
zammad_abort "POSTGRES_DB must not be one of PostgreSQL's system databases."
|
||||
;;
|
||||
esac
|
||||
|
||||
echo "Creating the '$${ZAMMAD_DB_USER}' role and the '$${ZAMMAD_DB}' database…"
|
||||
|
||||
# The identifiers and the password are passed as psql variables, so that psql
|
||||
# quotes them and no shell quoting can leak into the statements. The role owns
|
||||
# the database, which already carries every privilege it needs on it.
|
||||
psql --variable ON_ERROR_STOP=1 \
|
||||
--username "$${POSTGRES_USER}" \
|
||||
--dbname "$${POSTGRES_DB}" \
|
||||
--variable role="$${ZAMMAD_DB_USER}" \
|
||||
--variable pass="$${ZAMMAD_DB_PASS}" \
|
||||
--variable db="$${ZAMMAD_DB}" <<'EOSQL'
|
||||
CREATE ROLE :"role" LOGIN PASSWORD :'pass';
|
||||
CREATE DATABASE :"db" OWNER :"role";
|
||||
EOSQL
|
||||
|
||||
volumes:
|
||||
elasticsearch-data:
|
||||
driver: local
|
||||
postgresql-data:
|
||||
driver: local
|
||||
redis-data:
|
||||
driver: local
|
||||
zammad-backup:
|
||||
driver: local
|
||||
zammad-storage:
|
||||
driver: local
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"users": {
|
||||
"admin": 3,
|
||||
"agent": 4,
|
||||
"ta": 5,
|
||||
"customer": 6,
|
||||
"other_customer": 7
|
||||
},
|
||||
"group": 2
|
||||
}
|
||||
@@ -0,0 +1,217 @@
|
||||
{
|
||||
"captured_at": "2026-11-18T20:35:42.836404+00:00",
|
||||
"upstream_commit": "cb5ab9c805310515f4a55e70e94f9b4a28fa24a5",
|
||||
"documentation_baseline": "6e2873cc6bb476dab5ae680efb7ff6b997579081",
|
||||
"containers": [
|
||||
{
|
||||
"service": "elasticsearch",
|
||||
"image": "elasticsearch:9.5.5",
|
||||
"image_id": "sha256:b7b0f24e9b5e90656ffe69804b3a48907499ab2b9cd67f02b7af3aff1b026a89",
|
||||
"memory_limit_bytes": 402653184,
|
||||
"cpu_limit_nano": 350000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_elasticsearch-data",
|
||||
"destination": "/usr/share/elasticsearch/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "railsserver",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 402653184,
|
||||
"cpu_limit_nano": 400000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "scheduler",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 402653184,
|
||||
"cpu_limit_nano": 250000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "websocket",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 201326592,
|
||||
"cpu_limit_nano": 150000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "backup",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 201326592,
|
||||
"cpu_limit_nano": 150000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "nginx",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 67108864,
|
||||
"cpu_limit_nano": 150000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default",
|
||||
"myfileagent-gitea_edge"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "postgresql",
|
||||
"image": "postgres:17.12-alpine",
|
||||
"image_id": "sha256:a77aa70e641402a21411b92b721c58d10f23b50ae5fdd2333efd22d166e1e5f7",
|
||||
"memory_limit_bytes": 134217728,
|
||||
"cpu_limit_nano": 250000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_postgresql-data",
|
||||
"destination": "/var/lib/postgresql/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "redis",
|
||||
"image": "redis:8.10.3-alpine",
|
||||
"image_id": "sha256:7958cfbb9d152f87dadfbc89f1b0b15938f0b81ff8982feb327476f4911935c3",
|
||||
"memory_limit_bytes": 50331648,
|
||||
"cpu_limit_nano": 100000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_redis-data",
|
||||
"destination": "/data"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"service": "memcached",
|
||||
"image": "memcached:1.6.45-alpine",
|
||||
"image_id": "sha256:084fb554292d1447bc2c68b80c2331b98834514f56c866bc21a61be3c2ee376d",
|
||||
"memory_limit_bytes": 33554432,
|
||||
"cpu_limit_nano": 100000000,
|
||||
"status": "running",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": []
|
||||
},
|
||||
{
|
||||
"service": "init",
|
||||
"image": "ghcr.io/zammad/zammad:7.2.3-0008",
|
||||
"image_id": "sha256:2aab7090861444f9fd219bf13b8ef44cfa8d071b250cd3dec975f1390670a133",
|
||||
"memory_limit_bytes": 0,
|
||||
"cpu_limit_nano": 0,
|
||||
"status": "exited",
|
||||
"restart_count": 0,
|
||||
"ports": {},
|
||||
"networks": [
|
||||
"dos-support_default"
|
||||
],
|
||||
"volumes": [
|
||||
{
|
||||
"name": "dos-support_zammad-storage",
|
||||
"destination": "/opt/zammad/storage"
|
||||
},
|
||||
{
|
||||
"name": "dos-support_zammad-backup",
|
||||
"destination": "/var/tmp/zammad"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"started": "2026-11-18T20:31:35.178264+00:00",
|
||||
"samples": [
|
||||
{
|
||||
"observed_at": "2026-11-18T20:31:35.809251+00:00",
|
||||
"sample_timestamp": 1795033895.782,
|
||||
"value": 1.0
|
||||
},
|
||||
{
|
||||
"observed_at": "2026-11-18T20:31:48.895769+00:00",
|
||||
"sample_timestamp": 1795033908.868,
|
||||
"value": 0.0
|
||||
},
|
||||
{
|
||||
"observed_at": "2026-11-18T20:31:59.500591+00:00",
|
||||
"sample_timestamp": 1795033919.477,
|
||||
"value": 0.0
|
||||
},
|
||||
{
|
||||
"observed_at": "2026-11-18T20:32:14.295382+00:00",
|
||||
"sample_timestamp": 1795033934.271,
|
||||
"value": 1.0
|
||||
}
|
||||
],
|
||||
"two_distinct_failed_scrapes": true,
|
||||
"probe_recovered": true,
|
||||
"persisted_ticket": "71003",
|
||||
"conversation_retained": true,
|
||||
"finished": "2026-11-18T20:32:24.364071+00:00"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
[
|
||||
{
|
||||
"id": 2,
|
||||
"number": "71002",
|
||||
"title": "Portal access question \u2014 synthetic demo",
|
||||
"customer": "customer"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"number": "71003",
|
||||
"title": "Pricing question under investigation \u2014 synthetic demo",
|
||||
"customer": "customer"
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"number": "71004",
|
||||
"title": "Support HTTPS configuration verification \u2014 synthetic demo",
|
||||
"customer": "customer"
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"number": "71005",
|
||||
"title": "Private second-customer request \u2014 synthetic demo",
|
||||
"customer": "other_customer"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"ta_test_ticket": "71006",
|
||||
"ta_roles": [
|
||||
"Agent"
|
||||
],
|
||||
"create_assign_reply_close": true,
|
||||
"engineering_issue": "https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/22",
|
||||
"support_ticket": "71004"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
zammad-memcached:
|
||||
command: [memcached, -m, "8", -c, "64", -t, "1"]
|
||||
zammad-redis:
|
||||
command: [redis-server, --maxmemory, 16mb, --maxmemory-policy, noeviction]
|
||||
zammad-railsserver:
|
||||
environment:
|
||||
MIN_THREADS: "1"
|
||||
MAX_THREADS: "3"
|
||||
@@ -0,0 +1,23 @@
|
||||
---
|
||||
#
|
||||
# Adds an external network to Zammad's nginx container, for example to
|
||||
# use it with an existing reverse proxy like nginx proxy manager.
|
||||
#
|
||||
|
||||
services:
|
||||
zammad-nginx:
|
||||
environment:
|
||||
# Assumes the external reverse proxy terminates TLS and forwards plain HTTP, so the
|
||||
# browser-facing scheme must be configured here. Without it, Zammad does not write
|
||||
# its 'Secure' session cookie and login fails with "CSRF token verification failed!".
|
||||
# Set NGINX_SERVER_SCHEME=http in .env if your proxy does not use TLS.
|
||||
NGINX_SERVER_SCHEME: ${NGINX_SERVER_SCHEME:-https}
|
||||
networks:
|
||||
- default
|
||||
- zammad-nginx-external-network
|
||||
ports: !reset []
|
||||
|
||||
networks:
|
||||
zammad-nginx-external-network:
|
||||
external: true
|
||||
name: ${ZAMMAD_NGINX_EXTERNAL_NETWORK}
|
||||
@@ -0,0 +1,66 @@
|
||||
---
|
||||
#
|
||||
# Apply resource limits to the Zammad services.
|
||||
#
|
||||
|
||||
services:
|
||||
zammad-backup:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_BACKUP_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_BACKUP_RESOURCES_LIMITS_MEMORY:-500m}"
|
||||
zammad-elasticsearch:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_ELASTICSEARCH_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_ELASTICSEARCH_RESOURCES_LIMITS_MEMORY:-1G}"
|
||||
zammad-init:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_INIT_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_INIT_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-memcached:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_MEMCACHED_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_MEMCACHED_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-nginx:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_NGINX_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_NGINX_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-postgresql:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_POSTGRESQL_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_POSTGRESQL_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-railsserver:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_RAILSSERVER_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_RAILSSERVER_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-redis:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_REDIS_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_REDIS_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-scheduler:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_SCHEDULER_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_SCHEDULER_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
zammad-websocket:
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
cpus: "${ZAMMAD_WEBSOCKET_RESOURCES_LIMITS_CPUS:-1.0}"
|
||||
memory: "${ZAMMAD_WEBSOCKET_RESOURCES_LIMITS_MEMORY:-500M}"
|
||||
Reference in New Issue
Block a user