Files
Sbhayana fca706c9bb
continuous-integration/jenkins Jenkins: a gate failed or approval was not given
Add Zammad support desk config and support.ssw590 HTTPS probe (closes #22)
2026-11-30 20:19:11 +00:00

29 lines
2.0 KiB
Markdown

# Zammad support desk (Chapter 7)
Upstream: https://github.com/zammad/zammad-docker-compose at commit 67141451b6239190f7a616231bff20b8b0ccbd8a (detached).
Droplet path: /root/dos-support/zammad-docker-compose (Compose project `dos-support`).
Images: ghcr.io/zammad/zammad:7.3.0-0011, elasticsearch:9.5.7, postgres:17.12-alpine, redis:8.12-alpine, memcached:1.6.45-alpine.
Scenario: scenarios/add-external-network-to-nginx.yml; only zammad-nginx joins `startup_private`; no host ports published.
URL: https://support.ssw590.abrdns.com (Caddy route in Caddyfile.support; TLS by Caddy/Let's Encrypt).
## Files here
- env.example: the real .env with passwords replaced (real file: mode 600 on the droplet, never committed)
- Caddyfile.support: block appended to /opt/startup/Caddyfile
- sysctl-99-zammad.conf: /etc/sysctl.d/99-zammad.conf (Elasticsearch prerequisite)
## Operate (run in /root/dos-support/zammad-docker-compose)
- status: docker compose ps -a
- start / stop: docker compose up -d / docker compose stop
- restart web only: docker compose restart zammad-nginx
- NEVER: docker compose down -v (deletes the named volumes)
## Data and backups
Volumes: dos-support_postgresql-data, dos-support_elasticsearch-data, dos-support_redis-data, dos-support_zammad-storage, dos-support_zammad-backup.
zammad-backup writes <timestamp>_zammad_db.psql.gz and <timestamp>_zammad_files.tar.gz to the zammad-backup volume daily (BACKUP_TIME 03:00 container time, HOLD_DAYS 10).
One-off backup: docker compose run --rm --env BACKUP_ONCE=true zammad-backup
Restore: follow the Zammad "Backup & Restore (Docker)" guide for this release (copy the .gz files to /var/tmp/zammad/restore, start the stack, rebuild the search index). Backups stay on the droplet; they are not off-site.
## Monitoring
https://support.ssw590.abrdns.com/ is a target of the existing `https` blackbox job (monitoring/prometheus/prometheus.yml); panels 8-10 in monitoring/grafana/dashboards/ssw590-ops.json.
Tracking: issue #22, Zammad ticket #78003.