Compare commits

..
Author SHA1 Message Date
Codex 19f66a7845 Build Assignment 9 manual through existing Actions pipeline
myfileagent-python-ci/pipeline/head This commit looks good
Team manual PDF / manual (push) Failing after 2m0s
2026-11-21 21:37:46 +00:00
Codex 831dcc4b54 Reuse dated prior capacity evidence with explicit timing boundaries 2026-11-21 02:23:23 +00:00
Codex e459785351 Complete TA permissions evidence and align Hosts and Bitwarden registries 2026-11-21 01:44:40 +00:00
Codex 98a3a6d39e Record authenticated host firewall and effective SSH audit
myfileagent-python-ci/pipeline/head This commit looks good
2026-11-21 01:35:51 +00:00
Codex 54a2dd85fb Fix shared scheduler workers and verify full TA browser workflow
myfileagent-python-ci/pipeline/head This commit looks good
2026-11-21 01:10:16 +00:00
Codex 34edd679ea Record verified cloud firewall rules and attachment screenshots 2026-11-18 21:13:48 +00:00
Codex 5f33bf4a4f Retain approved SSH exception and record read-only exposure evidence 2026-11-18 21:10:53 +00:00
Codex 9b0d7aed14 Capture Grafana evidence and complete Chapter 7 deliverable audit 2026-11-18 21:04:09 +00:00
Codex 4a18c2e67b Document Zammad implementation with actual evidence and review gaps 2026-11-18 20:52:43 +00:00
Codex 114fb4b11a Implement minimal Zammad support desk and verified workflow 2026-11-18 20:36:02 +00:00
55 changed files with 2283 additions and 14 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: Team manual PDF name: Team manual PDF
on: on:
push: push:
branches: [main, manual-build-validation, assignment7/manual-1.9.2, assignment8/evidence-documentation] branches: [main, manual-build-validation, assignment7/manual-1.9.2, assignment8/evidence-documentation, assignment9/ticket-management]
jobs: jobs:
manual: manual:
runs-on: manual-latex runs-on: manual-latex
+8
View File
@@ -27,3 +27,11 @@ and resolved delivery while Gitea remained healthy. The chapter records response
timing, restart persistence, an approved/merged operational change and owned follow-up timing, restart persistence, an approved/merged operational change and owned follow-up
issues. External IPv4 port evidence is included; IPv6 and skipped external HTTPS issues. External IPv4 port evidence is included; IPv6 and skipped external HTTPS
capture remain explicit limits. The documentation was approved and published through Gitea Actions; version 1.9.2 incorporates the final editorial and layout corrections. capture remain explicit limits. The documentation was approved and published through Gitea Actions; version 1.9.2 incorporates the final editorial and layout corrections.
Assignment 9 adds an official Zammad support desk behind the existing HTTPS
proxy, small per-service resource caps, persistent database/search/storage and
backups, synthetic support tickets, customer isolation and an Agent-only TA
account. A Gitea issue links the customer request to engineering work; the
existing HTTPS monitoring job and dashboard are extended. Actual test results,
screenshots, failure corrections and required evidence gaps are retained. The
source-only 1.11.0 draft awaits a later explicitly authorized Jenkins PDF build.
+2
View File
@@ -19,6 +19,8 @@
\bottomrule \bottomrule
\endlastfoot \endlastfoot
\parbox[t]{2.7cm}{\raggedright November 18, 2026\\ 1.11.0\\ NK, CDX} & Implement instruction Chapter 7 with minimal resource use and update the newest team manual source. Consolidated under the first workday; later browser workflow, read-only role/group checks, SSH audit and source reconciliation retain their actual evidence timestamps. & The user authorized SSH through \texttt{ssw590-codex}, selected the newest documentation branch rather than main, deferred its merge, upgraded the Droplet, requested lower service ceilings, approved synthetic accounts and issue 22, and later requested full ongoing documentation with actual screenshots. Codex deployed the official stack, corrected an initially excessive heap and a Puma worker-setting interpretation, staged initialization, added limits and monitoring, tested tickets/customer isolation/TA access and backup/recovery, and retained explicit evidence limits. A recovery collector was corrected to distinguish real scrape timestamps from query times. The user expressly prohibited PDF compilation until a later authorized Jenkins build. \\
\parbox[t]{2.7cm}{\raggedright November 8, 2026\\ 1.10.1\\ GDL, NK, CDX} & Continue the handoff; verify and document the release and recovery evidence. & Codex checked the merged and later branch work separately, assisted with approved v1 and v2 releases, and recorded immutable digests, scan results, staging idempotence and human production approvals. It orchestrated the approved rollback and staging-only port mismatch, documented the overnight recovery delay, added the HTTPS probe, checked Grafana, and audited archived evidence. The team reviews the manual and evidence. \\ \parbox[t]{2.7cm}{\raggedright November 8, 2026\\ 1.10.1\\ GDL, NK, CDX} & Continue the handoff; verify and document the release and recovery evidence. & Codex checked the merged and later branch work separately, assisted with approved v1 and v2 releases, and recorded immutable digests, scan results, staging idempotence and human production approvals. It orchestrated the approved rollback and staging-only port mismatch, documented the overnight recovery delay, added the HTTPS probe, checked Grafana, and audited archived evidence. The team reviews the manual and evidence. \\
\parbox[t]{2.7cm}{\raggedright November 7, 2026\\ 1.10.0\\ GDL, NK, CDX} & Prepare the service, trusted agent, Ansible automation and delivery pipeline. & The previous Codex inspected the existing Droplet, adapted the starter, locked dependencies, built the trusted agent and installed Ansible and the Docker collection. It assisted with pinned SSH, scoped Jenkins credentials, registry authentication, proxy routes, security scans, a synthetic secret gate and reviewed delivery code. The team provided access and reviewed changes; Codex preserved the limitations and unfinished work in the handoff. \\ \parbox[t]{2.7cm}{\raggedright November 7, 2026\\ 1.10.0\\ GDL, NK, CDX} & Prepare the service, trusted agent, Ansible automation and delivery pipeline. & The previous Codex inspected the existing Droplet, adapted the starter, locked dependencies, built the trusted agent and installed Ansible and the Docker collection. It assisted with pinned SSH, scoped Jenkins credentials, registry authentication, proxy routes, security scans, a synthetic secret gate and reviewed delivery code. The team provided access and reviewed changes; Codex preserved the limitations and unfinished work in the handoff. \\
+2
View File
@@ -20,6 +20,8 @@
\bottomrule \bottomrule
\endlastfoot \endlastfoot
November 18, 2026 / 1.11.0 & NK, CDX & Consolidated assignment entry (first workday; evidence retains actual capture dates). Completed browser workflow and role/group evidence, privileged SSH audit, source publication, Hosts and Bitwarden credential references. Added the Support Ticket Management with Zammad chapter for instruction Chapter 7 / team Assignment 9. Recorded official revision, small per-service limits, upgraded-host observations, private HTTPS networking, synthetic accounts/tickets, least-privilege TA API tests, bidirectional issue 22 linkage, backup and isolated recovery evidence. Added actual screenshots and an explicit required-deliverable gap audit. Updated Hosts, password-store hints and AI log. Source-only draft; no PDF compilation authorized. & \ChapterRef{SupportTicketManagement}, \ChapterRef{Hosts}, \ChapterRef{Passwords} \\
November 8, 2026 / 1.10.1 & GDL, NK, CDX & Completed the secure delivery evidence audit, expanded the architecture with actual hosts, volumes and private paths, and linked release records, scans and recovery output. Recorded the v1 and v2 promotions, human decisions, production rollback samples, staging port-mismatch failure and delayed recovery. Added production HTTPS monitoring and preserved its limitation: the probe started after rollback. Recorded the unverified historical scanner database version and stateful rollback limitations. & \ChapterRef{SecureDeliveryRollback}, \ChapterRef{Hosts} \\ November 8, 2026 / 1.10.1 & GDL, NK, CDX & Completed the secure delivery evidence audit, expanded the architecture with actual hosts, volumes and private paths, and linked release records, scans and recovery output. Recorded the v1 and v2 promotions, human decisions, production rollback samples, staging port-mismatch failure and delayed recovery. Added production HTTPS monitoring and preserved its limitation: the probe started after rollback. Recorded the unverified historical scanner database version and stateful rollback limitations. & \ChapterRef{SecureDeliveryRollback}, \ChapterRef{Hosts} \\
November 7, 2026 / 1.10.0 & GDL, NK, CDX & Established the Assignment 8 service and delivery foundation. Locked application dependencies and base image; prepared a dedicated Jenkins agent with Python, Docker, Ansible and the Docker collection. Configured pinned SSH, restricted deployment credentials, registry access, Caddy routes and separate staging and production Compose projects. Added tests, dependency and secret scans, image scanning, approval and Ansible deployment. Reviewed and merged the foundation and follow-up security corrections; documented initial validation and the health-check timeout investigation. & \ChapterRef{SecureDeliveryRollback} \\ November 7, 2026 / 1.10.0 & GDL, NK, CDX & Established the Assignment 8 service and delivery foundation. Locked application dependencies and base image; prepared a dedicated Jenkins agent with Python, Docker, Ansible and the Docker collection. Configured pinned SSH, restricted deployment credentials, registry access, Caddy routes and separate staging and production Compose projects. Added tests, dependency and secret scans, image scanning, approval and Ansible deployment. Reviewed and merged the foundation and follow-up security corrections; documented initial validation and the health-check timeout investigation. & \ChapterRef{SecureDeliveryRollback} \\
+5
View File
@@ -27,3 +27,8 @@
\item[\textbf{SLO}] Internal target for the indicator over a defined window. \hfill Reference: \hyperref[GlossaryRef:slo]{p.~\pageref*{GlossaryRef:slo}} \item[\textbf{SLO}] Internal target for the indicator over a defined window. \hfill Reference: \hyperref[GlossaryRef:slo]{p.~\pageref*{GlossaryRef:slo}}
\item[\textbf{error budget}] Allowed unsuccessful fraction implied by a reliability target. \hfill Reference: \hyperref[GlossaryRef:errorbudget]{p.~\pageref*{GlossaryRef:errorbudget}} \item[\textbf{error budget}] Allowed unsuccessful fraction implied by a reliability target. \hfill Reference: \hyperref[GlossaryRef:errorbudget]{p.~\pageref*{GlossaryRef:errorbudget}}
\end{description} \end{description}
\begin{description}[style=nextline,leftmargin=3.1cm,labelindent=0pt]
\item[\textbf{Zammad}] The official multi-container support desk used for ticket ownership, customer replies and internal notes. See \ChapterRef{SupportTicketManagement}.
\item[\textbf{internal note}] An Agent conversation entry that must be excluded from the customer view; verified separately from a customer-visible reply.
\item[\textbf{TA Agent}] The named non-administrator evaluator identity with ticket permissions limited to the Startup Support group.
\end{description}
+4 -3
View File
@@ -8,20 +8,21 @@ This chapter lists the hosts used in the development environment for this
assignment and any that will be configured in future assignments. assignment and any that will be configured in future assignments.
\section{Host Registry} \section{Host Registry}
\begin{tabularx}{\linewidth}{L{3.4cm}L{2.6cm}Y} \begin{longtable}{L{3.4cm}L{2.6cm}L{7.0cm}}
\caption{Host Registry\label{Table:HostRegistry}}\\ \caption{Host Registry\label{Table:HostRegistry}}\\
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule \toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
\endfirsthead \endfirsthead
\multicolumn{3}{l}{\small\itshape Host Registry (continued)}\\ \multicolumn{3}{l}{\small\itshape Host Registry (continued)}\\
\toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule \toprule \textbf{Host Name} & \textbf{Provider} & \textbf{Purpose / Notes}\\ \midrule
\endhead \bottomrule \endlastfoot \endhead \bottomrule \endlastfoot
\texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu Linux development environment at \texttt{142.93.193.110}; 1 virtual CPU, 1 GB memory, and 25 GB storage; normally administered through the non-root \texttt{codex} account; the team supplied the UFW check from a root shell. October 9 evidence: IPv6 disabled, attached Cloud Firewall permits inbound 22/80/443 only, UFW inactive. Hosts the MyFileAgent Gitea service at \href{https://myfileagent.tech}{\texttt{myfileagent.}\allowbreak\texttt{tech}} through Caddy-managed HTTPS. Gitea remains bound to \texttt{127.0.0.1:3000}; an authenticated SSH local forward is retained as an administrative fallback.\\ \texttt{ssw590-group7-}\newline\texttt{droplet} & DigitalOcean & Ubuntu at \texttt{142.93.193.110}; originally 1 CPU, 1 GB RAM and 25 GB storage. User-confirmed new Basic plan: 1 vCPU, 2 GB RAM, 50 GB disk at \$12/month. November 18 observed root filesystem: 48 GB, plus 2 GB swap. Non-root \texttt{codex} administration. Current cloud rules and attachment are evidenced; November 20 privileged SSH audit confirms UFW inactive and password/keyboard-interactive SSH disabled. Cloud firewall permits inbound 22/80/443; the team's SSH source-IP exception is retained. Existing Gitea, Jenkins, proxy, monitoring and pricing services retained. See \ChapterRef{SupportTicketManagement}.\\
\texttt{gitea} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\ \texttt{gitea} & Existing Droplet & Repository-scoped Actions runner ID 1; temporary TeX jobs on the same host. Team-owned, capacity one, no public runner/compiler ports; runner 192 MiB and jobs 256 MiB. HTTPS to \href{https://myfileagent.tech}{Gitea}; separate Docker bridges. Runner state is outside Git; service health was checked during setup. See \ChapterRef{AutomatedManualBuild}.\\
\texttt{ci.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Jenkins 2.580.1 at \href{https://ci.myfileagent.tech/login}{HTTPS login}; public browser access, authentication required. Caddy forwards to \texttt{jenkins:8080} on the private bridge. Host port 8080 is loopback-only; no agent port is published. Team-owned, controller builds, persistent \texttt{jenkins-home}. Login, restart and main build 2 verified October 9, 2026; CI AAAA query returned no address. Named Matrix admin access team-confirmed; public-access approval remains unresolved. At the October 9 baseline, backup/monitoring was not established. Assignment 7 subsequently added HTTPS probes and host monitoring; monitoring does not establish Jenkins backup/restore. See \ChapterRef{JenkinsContinuousIntegration}.\\ \texttt{ci.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Jenkins 2.580.1 at \href{https://ci.myfileagent.tech/login}{HTTPS login}; public browser access, authentication required. Caddy forwards to \texttt{jenkins:8080} on the private bridge. Host port 8080 is loopback-only; no agent port is published. Team-owned, controller builds, persistent \texttt{jenkins-home}. Login, restart and main build 2 verified October 9, 2026; CI AAAA query returned no address. Named Matrix admin access team-confirmed; public-access approval remains unresolved. At the October 9 baseline, backup/monitoring was not established. Assignment 7 subsequently added HTTPS probes and host monitoring; monitoring does not establish Jenkins backup/restore. See \ChapterRef{JenkinsContinuousIntegration}.\\
\texttt{metrics.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Grafana OSS 13.2.4 at \href{https://metrics.myfileagent.tech/login}{HTTPS login}; authentication required, anonymous access and signup disabled in provisioning. Caddy forwards privately to \texttt{grafana:3000}. Persistent Grafana volume; six-panel monitoring and two-panel runbook dashboards; team Discord alert route. See \ChapterRef{SREMonitoringReliability}.\\ \texttt{metrics.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech} & Existing Droplet & Grafana OSS 13.2.4 at \href{https://metrics.myfileagent.tech/login}{HTTPS login}; authentication required, anonymous access and signup disabled in provisioning. Caddy forwards privately to \texttt{grafana:3000}. Persistent Grafana volume; six-panel monitoring and two-panel runbook dashboards; team Discord alert route. See \ChapterRef{SREMonitoringReliability}.\\
\href{https://staging.myfileagent.tech}{\texttt{staging.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Staging pricing service; Caddy forwards HTTPS privately to port 8000.\\ \href{https://staging.myfileagent.tech}{\texttt{staging.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Staging pricing service; Caddy forwards HTTPS privately to port 8000.\\
\href{https://app.myfileagent.tech}{\texttt{app.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Production-like pricing service; Caddy forwards HTTPS privately to port 8000.\\ \href{https://app.myfileagent.tech}{\texttt{app.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Production-like pricing service; Caddy forwards HTTPS privately to port 8000.\\
\href{https://support.myfileagent.tech}{\texttt{support.}\allowbreak\texttt{myfileagent.}\allowbreak\texttt{tech}} & Existing Droplet & Zammad 7.2.3-0008, official ten-container Compose project \texttt{dos-support}; Caddy TLS to nginx :8080 over the existing edge network. No Zammad host ports published. Private database/search/cache dependencies, named persistent volumes, startup backup and small CPU/RAM limits. TA Agent \texttt{ta.agent} has group ticket access, not Admin. See \ChapterRef{SupportTicketManagement}.\\
\texttt{prometheus} & Existing Droplet & Prometheus v3.15.1 on the private monitoring bridge at port 9090; separate persistent volume, 30-second scrapes, seven-day/512 MB block retention. No public port published.\\ \texttt{prometheus} & Existing Droplet & Prometheus v3.15.1 on the private monitoring bridge at port 9090; separate persistent volume, 30-second scrapes, seven-day/512 MB block retention. No public port published.\\
\texttt{node-exporter} & Existing Droplet & Node Exporter v1.12.1, private port 9100; read-only host root/proc/sys and host PID namespace for whole-host CPU, memory and filesystem collectors.\\ \texttt{node-exporter} & Existing Droplet & Node Exporter v1.12.1, private port 9100; read-only host root/proc/sys and host PID namespace for whole-host CPU, memory and filesystem collectors.\\
\texttt{blackbox-}\allowbreak\texttt{exporter} & Existing Droplet & Blackbox Exporter v0.29.1, private port 9115; probes Gitea/Jenkins HTTPS login URLs with TLS verification. Same-Droplet probes do not prove reachability from all external networks.\\ \texttt{blackbox-}\allowbreak\texttt{exporter} & Existing Droplet & Blackbox Exporter v0.29.1, private port 9115; probes Gitea/Jenkins HTTPS login URLs with TLS verification. Same-Droplet probes do not prove reachability from all external networks.\\
\end{tabularx} \end{longtable}
+9 -1
View File
@@ -8,7 +8,7 @@
\section{Assignment Purpose} \section{Assignment Purpose}
This report records the team's developing DevOps environment and the work This report records the team's developing DevOps environment and the work
completed through Assignment 7, retaining the Assignment 5 automated completed through Assignment 9, retaining the Assignment 5 automated
manual-build work described in \ChapterRef{AutomatedManualBuild}. The earlier chapters establish Linux manual-build work described in \ChapterRef{AutomatedManualBuild}. The earlier chapters establish Linux
\phantomsection\label{GlossaryRef:bash}Bash command-line skills, the Ubuntu working environment, host configuration, and \phantomsection\label{GlossaryRef:bash}Bash command-line skills, the Ubuntu working environment, host configuration, and
password-management concepts. Earlier assignments extended that foundation password-management concepts. Earlier assignments extended that foundation
@@ -25,6 +25,14 @@ Caddy-managed HTTPS, a DigitalOcean Cloud Firewall, and a verified two-member
repository workflow. repository workflow.
\section{Team and Environment} \section{Team and Environment}
Assignment 9 extends the existing deployment with the official Zammad support
desk, private dependencies, HTTPS, synthetic ticket workflows and
least-privilege TA access. Instruction Chapter 7 is recorded in
\ChapterRef{SupportTicketManagement}, including monitoring, backup/recovery,
minimal resource settings and explicit unfinished evidence. This source draft
has not been compiled; final PDF verification awaits the user's authorized
Jenkins build.
The work was completed by Nicholas Kogut and Gowri Das Lovely. The execution The work was completed by Nicholas Kogut and Gowri Das Lovely. The execution
environment is an Ubuntu Linux Droplet hosted on DigitalOcean, accessed remotely environment is an Ubuntu Linux Droplet hosted on DigitalOcean, accessed remotely
with PuTTY. Docker provides the repeatable application environments used for with PuTTY. Docker provides the repeatable application environments used for
+10 -2
View File
@@ -7,7 +7,7 @@
For security reasons, passwords in this document are stored only as links to another password store (shared BitWarden cloud account), never as the credential itself. When a new credential is created, add a row naming the user and server, add the corresponding entry to the password manager, and record only the password manager's entry name here. For security reasons, passwords in this document are stored only as links to another password store (shared BitWarden cloud account), never as the credential itself. When a new credential is created, add a row naming the user and server, add the corresponding entry to the password manager, and record only the password manager's entry name here.
\section{Credential Registry} \section{Credential Registry}
\begin{tabularx}{\linewidth}{L{1.8cm}L{2.6cm}L{3.4cm}Y} \begin{longtable}{L{1.8cm}L{2.6cm}L{3.4cm}L{5.0cm}}
\caption{Credential Registry\label{Table:CredentialRegistry}}\\ \caption{Credential Registry\label{Table:CredentialRegistry}}\\
\toprule \textbf{User} & \textbf{Server} & \textbf{Credential Reference} & \textbf{Rotation / Notes}\\ \midrule \toprule \textbf{User} & \textbf{Server} & \textbf{Credential Reference} & \textbf{Rotation / Notes}\\ \midrule
\endfirsthead \endfirsthead
@@ -25,4 +25,12 @@ Group 7 & Actions runner & Restricted state: \texttt{.runner} & Outside Git; mod
\texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\ \texttt{jenkins-}\allowbreak\texttt{ci} & Jenkins / Gitea & Jenkins credential: \texttt{gitea-}\allowbreak\texttt{jenkins-ci} & Global PAT: repo write; user/org read. Rotate on compromise.\\
Group 7 & Grafana & Bitwarden: \path{bitwarden-grafana} & Never publish the password. The restricted initial-password file outside Git is a bootstrap value and must not be used to reset the changed login.\\ Group 7 & Grafana & Bitwarden: \path{bitwarden-grafana} & Never publish the password. The restricted initial-password file outside Git is a bootstrap value and must not be used to reset the changed login.\\
Group 7 & Discord alert route & Restricted \path{grafana-discord-webhook} and private routing provisioning outside Git & Secret URL excluded from source and screenshots. Rotate/revoke through the team Discord integration if compromised; preserve resolved delivery.\\ Group 7 & Discord alert route & Restricted \path{grafana-discord-webhook} and private routing provisioning outside Git & Secret URL excluded from source and screenshots. Rotate/revoke through the team Discord integration if compromised; preserve resolved delivery.\\
\end{tabularx} Startup Admin & Zammad support & Bitwarden: \path{zammad-admin} & Login \path{startup.admin@example.test}; named administrator. Rotate on compromise.\\
\texttt{student.}\allowbreak\texttt{agent} & Zammad support & Bitwarden: \path{zammad-student-agent} & Startup Support Agent access only.\\
\texttt{ta.agent} & Zammad support & Bitwarden: \path{zammad-ta-agent} & Agent role only. Supply privately in Canvas; revoke after evaluation.\\
\texttt{demo.}\allowbreak\texttt{customer} & Zammad portal & Bitwarden: \path{zammad-demo-customer} & Synthetic Customer for portal workflow and visibility tests.\\
\texttt{other.}\allowbreak\texttt{customer} & Zammad portal & Bitwarden: \path{zammad-other-customer} & Separate synthetic Customer for ticket-isolation tests.\\
Zammad database & PostgreSQL & Bitwarden: \path{zammad-postgres} & Private deployment variable \texttt{POSTGRES\_PASS}; excluded from Git.\\
Database superuser & PostgreSQL & Bitwarden: \path{zammad-postgres-superuser} & Private deployment variable \texttt{POSTGRES\_SUPERUSER\_PASS}; excluded from Git.\\
Zammad search & Elasticsearch & Bitwarden: \path{zammad-elasticsearch} & Private deployment variable \texttt{ELASTICSEARCH\_PASS}; the variable does not establish enabled search authentication.\\
\end{longtable}
+24
View File
@@ -195,3 +195,27 @@
howpublished = {\url{https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/}}, howpublished = {\url{https://grafana.com/docs/grafana/latest/alerting/set-up/provision-alerting-resources/file-provisioning/}},
note = {Accessed: October 28, 2026} note = {Accessed: October 28, 2026}
} }
@misc{ZammadDockerA9,
author = {{Zammad Foundation}},
title = {Install with Docker},
year = {2026},
howpublished = {\url{https://docs.zammad.org/en/latest/install/docker-compose.html}},
note = {Accessed November 18, 2026; deployment observations use the recorded pinned checkout}
}
@misc{ZammadPinnedComposeA9,
author = {{Zammad Foundation}},
title = {Official Docker Compose deployment, pinned source revision},
year = {2026},
howpublished = {\url{https://github.com/zammad/zammad-docker-compose/tree/cb5ab9c805310515f4a55e70e94f9b4a28fa24a5}},
note = {Checkout inspected November 18, 2026}
}
@misc{ZammadDockerRestoreA9,
author = {{Zammad Foundation}},
title = {Backup and Restore (Docker)},
year = {2026},
howpublished = {\url{https://docs.zammad.org/en/latest/appendix/backup-and-restore/docker-compose.html}},
note = {Accessed November 18, 2026; restore procedure documented, not executed}
}
@@ -0,0 +1,681 @@
\chapter{Support Ticket Management with Zammad}
\ChapterLabel{SupportTicketManagement}
\index{Zammad}\index{support tickets}\index{least privilege}
\section{Scope, source identity, and evidence boundary}
This chapter implements Chapter 7 of the instructor's
\path{dosManual-V1.53-1.pdf} as team Assignment 9. Chapter numbers in this
cumulative team manual differ from the instruction manual. The work extends
the existing Droplet, Gitea, Jenkins, Caddy, monitoring and pricing deployments.
It uses the official Zammad Compose stack and published images. Optional mail,
SSO, alert-to-ticket automation, new exporters and new pipelines are excluded.
All ticket customers and correspondence are synthetic.
The starting documentation is branch
\path{assignment8/evidence-documentation}, commit
\path{6e2873cc6bb476dab5ae680efb7ff6b997579081}, version 1.10.1,
which was newer than main. The isolated implementation worktree is
\path{/home/codex/dos-support/team-repository}, branch
\path{assignment9/ticket-management}. Initial sanitized implementation commit
\texttt{114fb4b} retains the previous manual and adds support configuration and
evidence. Local source is also saved under \path{HW9/team-repository}.
Remote branch publication, independent review and the final Jenkins PDF build
are separate verification steps. The user explicitly instructed that no PDF
be compiled during this source-authoring stage.
\begin{devopsNote}[What the evidence establishes]
HTTPS login reachability, API account and ticket operations, customer isolation,
TA group access, a generated backup, and an nginx-only restart test were
executed. A public login probe does not establish authenticated workflow
correctness. API checks do not substitute for separate customer and TA browser
checks. Browser screenshots are added only after actual observations; the
remaining evidence gaps are listed at the end of this chapter.
\end{devopsNote}
\section{1. Baseline, capacity and preservation of earlier work}
The initial host had a 24 GB root filesystem with 22 GB used (94\%) and
1.6 GB available. The full upstream stack was downloaded and started; startup
caused severe resource contention and repeated Elasticsearch exits with code
137. That exit code alone does not identify the cause. The team subsequently
upgraded the Droplet. After reboot, measurements showed one CPU, approximately
2 GB physical RAM, 2 GB swap, and a 48 GB root filesystem with 26 GB available
(46\% used). Active swap traffic and zero idle CPU showed that startup was
competing with the existing services. Initial Rails migrations and seeding
eventually exited successfully with code zero.
The instructor's capacity baseline was not captured completely before the first
installation. The user initially deferred capacity work, later requested
resource diagnosis, and chose a small proof of concept with explicit limits.
The team supplied the upgraded plan at documentation review: DigitalOcean
Basic, 1 vCPU, 2 GB RAM, 50 GB nominal disk, at \$12/month. The observed 48 GB
root filesystem is distinct from the plan's advertised disk capacity. This
records the user's plan/price statement, not a new billing-console audit or a
claim that alternatives were compared before the resize. The small deployment is a tested lab configuration,
not a claim of compliance with Zammad's general production sizing guidance.
The existing services and their volumes were retained. Initial HTTPS checks
returned Gitea 200, Jenkins 403 (access-controlled response), Grafana 302,
production health \texttt{v1/ok}, and staging health \texttt{v2/ok}.
Prometheus was found stopped after the host restart. It was restarted; a
premature HUP during startup caused exit 129, after which it was restarted
again and its readiness endpoint was checked before using its data. This is
recorded separately from the controlled Zammad outage.
The post-installation audit captures all six prescribed command outputs:
Docker version, Compose version, \texttt{free -h}, \texttt{df -h}, bounded
\texttt{docker stats --no-stream}, and Docker network inventory, in
\path{support/evidence/chapter7-final-audit.json}. These are explicitly
post-install measurements, not a reconstructed original six-command baseline.
Historical Grafana comparisons provide retained before/after observations
with their collection gaps visible.
\paragraph{Reuse of the prior assignment's dated baseline.}
The team confirms that no system changes occurred between completion of the
preceding assignment and starting this assignment. Existing evidence can
therefore support continuity of the recorded configuration, while retaining
its original dates. In particular,
\path{documentation/evidence/assignment7/documentation-host-comparison-2026-10-28.json}
records one CPU, Docker 29.8.1, Compose v5.5.1, 1,008,177,152 bytes total RAM,
1,073,737,728 bytes swap, and a 24,883,167,232-byte root filesystem.
Its point-in-time available RAM was 217,042,944 bytes and root available
space was 12,422,406,144 bytes. These dynamic values are October 28 samples,
not measurements taken immediately before the November installation; an
unchanged configuration does not imply unchanged utilization or disk use.
The retained November 18 Grafana screenshots add contemporaneous whole-host
before/startup/after observations, and the recorded pre-resize versus
post-resize capacities support the upgrade comparison. These sources are
used together rather than declaring all baseline evidence absent.
The remaining historical gap is the complete, contemporaneous six-command
capture required by Step 1, especially per-container statistics and network
inventory. A later snapshot or a stopped-Zammad test cannot recreate those
original observations. The plan selected and recurring cost are documented;
a pre-resize comparison of alternative paid plans is not established by
capacity measurements alone.
\section{2. Official deployment revision and images}
The separate deployment directory is
\path{/home/codex/dos-support/zammad-docker-compose}. The official repository
\url{https://github.com/zammad/zammad-docker-compose} was cloned and detached at
\path{cb5ab9c805310515f4a55e70e94f9b4a28fa24a5}.
The official deployment guide and pinned repository are the source references
for the supplied stack, scenarios and environment variables
\cite{ZammadDockerA9,ZammadPinnedComposeA9}.
Docker Compose reported version 5.5.1 and accepted the external-network
scenario's \texttt{!reset} syntax. The kernel's existing
\texttt{vm.max\_map\_count} was 1048576; no privileged sysctl change was needed.
\begin{longtable}{L{4.0cm}L{8.8cm}}
\caption{Official selected image inventory}\label{Table:ZammadImages}\\
\toprule Service & Published image tag\\\midrule\endhead
Rails, nginx, initialization, scheduler, websocket, backup &
\path{ghcr.io/zammad/zammad:7.2.3-0008}\\
Elasticsearch & \path{elasticsearch:9.5.5}\\
PostgreSQL & \path{postgres:17.12-alpine}\\
Redis & \path{redis:8.10.3-alpine}\\
Memcached & \path{memcached:1.6.45-alpine}\\\bottomrule
\end{longtable}
Ten containers share five image tags; a new custom help-desk image was not
built. Captured local image IDs, resource caps, service state, networks and
volume mounts are in \path{support/evidence/deployment-manifest.json}.
Local image IDs are not represented as registry manifest digests.
\section{3. Private networks, proxy and minimal settings}
\begin{figure}[htbp]
\centering
\begin{tikzpicture}[node distance=7mm,
every node/.style={draw,rounded corners,align=center,font=\footnotesize,text width=3.7cm,inner sep=4pt},
arrow/.style={-{Stealth},thick}]
\node (browser) {Customer / student / TA browser};
\node[below=of browser] (proxy) {Existing Caddy :443\\TLS and HTTP redirect};
\node[below=of proxy] (nginx) {Zammad nginx :8080\\existing edge + support network};
\node[below=of nginx] (app) {Rails :3000 / websocket\\scheduler / one-shot init};
\node[left=of app] (old) {Retained Gitea / Jenkins\\pricing staging + production};
\node[right=of app] (data) {PostgreSQL :5432\\Redis :6379 / Memcached :11211\\Elasticsearch :9200};
\node[below=of app] (vol) {Named storage / database / search\\Redis / backup volumes};
\node[right=of vol] (backup) {Official backup container\\private project network};
\node[left=of vol] (monitor) {Existing Prometheus + Blackbox\\Grafana + Node Exporter};
\draw[arrow] (browser)--(proxy);
\draw[arrow] (proxy)--node[right,draw=none,text width=2cm]{private HTTP}(nginx);
\draw[arrow] (nginx)--(app);
\draw[arrow] (app)--(data);
\draw[arrow] (app)--(vol);
\draw[arrow] (backup)--(vol);
\draw[arrow,dashed] (monitor) to[bend left=35] (proxy);
\draw[arrow] (proxy) to[bend right=25] (old);
\end{tikzpicture}
\caption{Actual logical service and storage boundaries. Only Zammad nginx
joins \texttt{myfileagent-gitea\_edge}; all dependencies remain on
\texttt{dos-support\_default}. Dashed line is the HTTPS probe through Caddy.
Grouped boxes represent multiple containers, not combined processes.}
\label{Figure:ZammadArchitecture}
\end{figure}
The retained official scenario removes nginx's host port with
\texttt{ports: !reset []}. Resolved Compose validation confirmed no published
host port for any Zammad service. The actual external network is
\path{myfileagent-gitea_edge}; the project network is
\path{dos-support_default}. The non-secret example is
\path{support/.env.example}; the real \path{.env} is outside the team repository,
mode 600. Distinct generated application database, administrative database and
search credentials replace defaults. PostgreSQL's application and superuser
roles are separate. Search security remains as supplied upstream on the
private network; a generated search password variable is not a claim that
Elasticsearch authentication was enabled.
\begin{verbatim}
COMPOSE_PROJECT_NAME=dos-support
COMPOSE_FILE=docker-compose.yml:scenarios/add-external-network-to-nginx.yml:
scenarios/apply-resource-limits.yml:local/minimal.yml
ZAMMAD_NGINX_EXTERNAL_NETWORK=myfileagent-gitea_edge
ZAMMAD_FQDN=support.myfileagent.tech
ZAMMAD_HTTP_TYPE=https
NGINX_SERVER_SCHEME=https
ELASTICSEARCH_JAVA_OPTS=-Xms128m -Xmx128m
ZAMMAD_WEB_CONCURRENCY=0
\end{verbatim}
The displayed Compose file list wraps for readability; the real environment
stores it on one line. The upstream HTTPS scheme is retained even though
Caddy's upstream connection uses HTTP, to preserve secure cookies and CSRF
behavior. Client-IP attribution was not customized; no broad trusted-proxy
range is asserted. API setup follows the application's normal CSRF tokens and
session cookies; security checks were not disabled.
\subsection{Small proof-of-concept limits}
\begin{longtable}{L{4.2cm}L{2.1cm}L{2.0cm}L{4.5cm}}
\caption{Saved per-container ceilings, not preallocated reservations}\label{Table:ZammadLimits}\\
\toprule Service & RAM cap & CPU cap & Additional setting\\\midrule\endhead
Elasticsearch & 384 MiB & 0.35 & Heap 128 MiB initial/max\\
Rails & 384 MiB & 0.40 & Single Puma process; 1--3 threads\\
Scheduler & 384 MiB & 0.25 & Required services use shared-process threads; unused AI/incoming-mail workers disabled\\
Websocket & 192 MiB & 0.15 & Official command retained\\
Backup & 192 MiB & 0.15 & Startup backup enabled\\
PostgreSQL & 128 MiB & 0.25 & Existing initialized volume\\
Redis & 48 MiB & 0.10 & 16 MB data maximum; no eviction\\
Memcached & 32 MiB & 0.10 & 8 MB cache; one thread, 64 connections\\
nginx & 64 MiB & 0.15 & No published host port\\
Initialization & 512 MiB & 0.35 & Saved limit for future runs; completed prior to this limit\\\bottomrule
\end{longtable}
These are experimental limits for kilobytes of demonstration data. Heap size
is only part of Elasticsearch's total usage. Its upstream 1 GB heap was first
reduced to 256 MB, then 128 MB. At the later checkpoint the constrained
services reported zero restarts and Rails was healthy. Search startup was
slow and emitted garbage-collection overhead messages; long-term stability
is not inferred from a short successful workflow. The sum of service ceilings
is not a promise that the complete host can sustain every ceiling at once.
If a required service fails, preserve logs and raise only the demonstrated
limiting setting. Do not silence failures or remove the required search or
backup services to claim success.
\paragraph{November 20 browser-test correction.}
Although the container remained running, a later actual browser ticket-create
test could not find the existing synthetic Customer. The user search index
contained only one record. Scheduler process inspection showed that the
general delayed-job and scheduled-job workers were absent; its cgroup counters
recorded three killed processes under the original 384 MiB ceiling.
An initial 512 MiB scheduler trial still lost the delayed-job worker and
recorded one killed process. Inspection of the matching upstream
\path{lib/background_services/service_config.rb} established that a worker
count of zero selects shared-process threading, whereas one forks a separate
Rails process. The earlier attempt to minimize workers by setting each to one
was therefore counterproductive. Required session-management, scheduled-job
and delayed-job services were corrected to zero-worker threaded mode, the
scheduler ceiling was restored to 384 MiB, and unused AI/incoming-mail workers
were disabled. The Elasticsearch heap remained 128 MiB.
This records a functional failure that API CRUD and container-running checks
had not detected; the completed browser test is the acceptance check for the
correction, not merely a successful container restart.
\section{4. Validation, initialization and startup operations}
Run commands in the deployment directory so the same private environment and
all scenarios are loaded:
\begin{verbatim}
cd /home/codex/dos-support/zammad-docker-compose
docker compose config --quiet
docker compose config --services
docker compose pull
docker compose up -d
docker compose ps -a
docker compose logs --tail=50 zammad-init zammad-railsserver zammad-nginx
\end{verbatim}
Do not publish resolved Compose output containing secrets. The observed
one-shot initialization container exited zero after migrations, seeds and
initial index setup. It is expected to be stopped, not continuously running.
During initial contention the waiting Rails, scheduler, websocket and backup
containers were paused so initialization could finish. They were later
recreated with the saved small settings and restarted. For a constrained
restart, first bring up PostgreSQL, Redis, Memcached and Elasticsearch, then
Rails, then nginx, websocket, scheduler and backup. Check actual readiness,
not just container state. Puma's zero-worker mode means one process; an early
saved value of one was corrected before this constrained deployment.
\section{5. DNS, HTTPS and certificate verification}
\url{https://support.myfileagent.tech/} resolves to the existing Droplet
\texttt{142.93.193.110}. A new hostname route was appended to the existing
Caddyfile; all prior host routes were preserved:
\begin{verbatim}
support.myfileagent.tech {
reverse_proxy zammad-nginx:8080
}
\end{verbatim}
The original is retained as \path{Caddyfile.before-assignment9}. Caddy
validation succeeded before reload. Normal HTTPS requests returned 200
without bypassing certificate validation. The ChatGPT browser displayed the
actual first-run wizard and later login page. Caddy provides WebSocket
forwarding; Zammad's websocket service remains in the official stack.
The final observation at 20:45:47 UTC on November 18 returned HTTP 200 for
support, Gitea login, Jenkins login, Grafana login, production health and
staging health. HTTP support access followed a redirect to HTTPS. The trusted
certificate identifies support.myfileagent.tech, issuer Let's Encrypt YE1,
valid November 18, 2026 at 19:20:36 UTC through February 16, 2027 at
19:20:35 UTC. Default trust-chain and hostname verification remained enabled.
Evidence: \path{support/evidence/final-observations.json}.
\begin{figure}[htbp]\centering
\includegraphics[width=.64\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/support-login.png}
\caption{Actual support HTTPS login page after initialization and account setup.
No password fields are populated in this screenshot. A login page alone does
not establish successful authenticated access.}\label{Figure:ZammadLogin}
\end{figure}
\section{6. Firewall and exposure checks}
External TCP connection attempts from the Windows workstation could not reach
\texttt{142.93.193.110} on 8080, 5432, 9200, 6379 or 11211. These are
observations from that source and time, not a universal connectivity proof.
The resolved Compose configuration publishes none of those Zammad ports.
Published-port avoidance is independently important because Docker networking
can bypass assumptions about host firewall rules.
Earlier team evidence recorded a DigitalOcean Cloud Firewall permitting
22/80/443, UFW inactive and IPv6 disabled. Those historical observations are
not relabeled as a new post-upgrade firewall audit. A current authenticated
DigitalOcean inspection now confirms the cloud firewall and attachment;
the privileged host audit was subsequently completed on November 20. The earlier Gitea foundation chapter records an
instructor-cleared exception allowing key-only SSH from changing source
addresses. The team explicitly carries that policy forward; no SSH source-IP
restriction was requested or applied in this assignment. Verify the actual
key-only controls and retain that exception rather than claiming IP filtering.
The final
observation found no support AAAA answer and no global IPv6 interface address;
listeners on \texttt{[::]} alone do not establish public IPv6 access.
The original unprivileged UFW attempt failed because sudo required a password;
that historical failure remains in \path{chapter7-final-audit.json}.
The team then authenticated the read-only audit through SSH. Its raw output is
\path{support/evidence/host-security-audit.txt}, captured November 20 at
20:33:14 EST (November 21, 01:33:14 UTC). UFW is inactive. IPv4 INPUT and
OUTPUT policies are ACCEPT, FORWARD is DROP, with Docker-managed bridge
and forwarding chains. IPv6 base policies are ACCEPT. Therefore the host
firewall is not an independent inbound port allowlist; the attached cloud
firewall supplies that restriction. Docker ACCEPT entries for private
container ports do not alone prove public exposure; published bindings and
external checks are recorded separately below.
Effective \texttt{sshd -T} output reports
\texttt{pubkeyauthentication yes}, \texttt{passwordauthentication no},
\texttt{kbdinteractiveauthentication no}, and
\texttt{permitemptypasswords no}. Root login is
\texttt{without-password} (keys permitted), not disabled. No rules or SSH
settings were changed during this audit.
The renewed external checks are in
\path{support/evidence/firewall-exposure-recheck.json}: HTTPS returned 200,
all five internal TCP ports timed out from the external workstation, none of
the five Zammad frontend/dependency containers published a host port, and
only nginx joined the existing proxy network. The instruction requires
checking both cloud controls and host/container networking; it does not
mandate a particular screenshot format. One current rules/attachment capture
from the DigitalOcean console or an equivalent authenticated API export,
combined with these command results, is sufficient evidence of the two layers.
The authenticated console showed
\texttt{ssw590-group7-gitea-firewall}, six rules and one attached Droplet:
\texttt{ssw590-group7-droplet}, described as 2 GB / 50 GB / NYC1. Its only
inbound allowances are TCP 22, 80 and 443 from all IPv4/IPv6 sources; other
inbound traffic is blocked. Outbound ICMP, all TCP and all UDP remain allowed.
No internal Zammad port is allowed. No cloud rule or attachment issue was
found relative to the recorded policy and SSH exception; nothing was changed.
Structured evidence is \path{support/evidence/digitalocean-firewall-verification.json}.
\begin{figure}[htbp]\centering
\includegraphics[width=.85\linewidth,height=.82\textheight,keepaspectratio]{hw9_images/digitalocean-firewall-rules-full.png}
\caption{Actual complete DigitalOcean firewall rule capture, November 18.
The original PNG can be zoomed to inspect all inbound and outbound rules.}
\label{Figure:ZammadCloudFirewallRules}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.70\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/digitalocean-firewall-attachment.png}
\caption{Actual firewall attachment to the upgraded team Droplet. This is
the same firewall whose complete rules are captured in the preceding figure.}
\label{Figure:ZammadCloudFirewallAttachment}\end{figure}
Do not add public rules for Zammad dependencies or monitoring ports. Keep
80 only for the existing redirect/certificate mechanism and HTTPS on 443.
\section{7. Accounts, ticket workflow and least privilege}
The created local accounts are \texttt{startup.admin}, \texttt{student.agent},
\texttt{ta.agent}, \texttt{demo.customer}, and \texttt{other.customer}; all
use synthetic \texttt{example.test} email identities. TA Agent has only the
Agent role and full ticket permissions in \texttt{Startup Support}, sufficient
for create, assign, reply and close; it has no Admin role. Public account
creation was disabled. No mail channel, external notification or real customer
address was configured.
\begin{longtable}{L{1.6cm}L{5.1cm}L{6.4cm}}
\caption{Synthetic ticket examples and observed workflow}\label{Table:ZammadTickets}\\
\toprule Number & Example & Observed result\\\midrule\endhead
71002 & Portal access question & Open/unassigned; Demo Customer; normal priority.\\
71003 & Pricing investigation & Open, Student Agent owner, Demo Customer, normal priority; internal note and public reply.\\
71004 & Support HTTPS configuration & Closed, Student Agent owner, Demo Customer, normal priority; resolution and issue 22 link.\\
71005 & Second customer's private request & Access denied when requested as the first customer.\\
71006 & TA permissions verification & TA created, assigned to self, replied, and closed using its Agent account.\\\bottomrule
\end{longtable}
The customer API view of ticket 71003 excluded the internal marker
\texttt{INTERNAL-DEMO-NOTE}. Requesting ticket 71005 as the other customer
returned access denial. TA authentication and reading ticket 71003 succeeded;
its role list contained only Agent. TA ticket 71006 exercised create, own,
reply and close. Machine-readable results are in
\path{support/evidence/workflow-verification.json},
\path{ticket-evidence.json} and \path{account-ids.json} in the same directory.
Separate browser checks authenticated as TA Agent and displayed ticket 71004
with its issue link and ticket 71003 with its internal note. After signing
out, the browser authenticated as demo.customer. Its overview showed its own
tickets, ticket 71003 showed the public reply without the internal note,
and opening ticket 71005 displayed ``You are not authorized to open this
Ticket.'' TA CRUD was tested through the API, distinct from browser login/read.
\begin{figure}[htbp]\centering
\includegraphics[width=.47\linewidth,height=.65\textheight,keepaspectratio]{hw9_images/ta-internal-note.png}\hfill
\includegraphics[width=.47\linewidth,height=.65\textheight,keepaspectratio]{hw9_images/customer-public-reply.png}
\caption{Actual ticket 71003 browser views: TA can see the internal note
(left); the customer sees the request and public Agent reply (right).}
\label{Figure:ZammadNoteVisibility}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.47\linewidth,height=.62\textheight,keepaspectratio]{hw9_images/customer-ticket-list.png}\hfill
\includegraphics[width=.47\linewidth,height=.62\textheight,keepaspectratio]{hw9_images/customer-other-ticket-denied.png}
\caption{Customer overview with open/closed examples (left), and explicit
denial for the other customer's ticket 71005 (right).}
\label{Figure:ZammadCustomerIsolation}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.68\linewidth,height=.68\textheight,keepaspectratio]{hw9_images/ta-resolved-ticket.png}
\caption{Authenticated TA Agent view of the resolved ticket and its clickable
engineering issue link, without administrator access.}
\label{Figure:ZammadTAResolved}\end{figure}
\subsection{Private TA access and evaluation checklist}
The November 20 administrator browser inspection opened TA Agent's existing
profile read-only: Agent selected, Admin and Customer unchecked, Startup
Support Full permission, and active status. The dialog was canceled without
submission. The administrator signs in using
\texttt{startup.admin@example.test}; the originally generated
\texttt{startup.admin} identifier was not accepted by the login form.
Use the email identifier with the existing private password; no credential
was reset or replaced.
\begin{figure}[htbp]\centering
\includegraphics[width=.47\linewidth]{hw9_images/ta-agent-profile.png}\hfill
\includegraphics[width=.47\linewidth]{hw9_images/ta-agent-role-group.png}
\caption{Read-only TA Agent identity (left) and Agent-only role with Full
Startup Support ticket permissions (right). No access settings were changed.}
\label{Figure:ZammadTARoleGroup}\end{figure}
Evaluation URL: \url{https://support.myfileagent.tech/}. Login name:
\texttt{ta.agent}; display name: TA Agent. The separate generated passwords
are stored privately in
\path{/home/codex/dos-support/accounts.private.json} with mode 600, outside Git.
Actual database secrets are in the private deployment environment.
The Passwords chapter defines the team's Bitwarden reference names for all
five Zammad accounts and three deployment secret variables. Those names
are the credential handoff convention; secret values remain outside this manual.
The Basic plan is 1 vCPU, 2 GB RAM and 50 GB disk at \$12/month.
The approved temporary local credential copy was removed after browser tests;
the Droplet's private store is retained. Supply the TA username and password privately in Canvas
submission text, outside the PDF and repository, as required by the manual.
The TA should sign in, select Startup Support, inspect tickets 71002--71004,
open the issue link in 71004, create a synthetic ticket, set customer/priority,
assign it to self, post a public reply, and close it with a verification note.
No SSH or administrator account is required for evaluation. Keep the desk and
TA login available through the announced grading window; its dates have not
been supplied. Revoke temporary access only after grading and retention needs
are confirmed.
\section{8. Engineering traceability and resolution}
\href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/issues/22}{Gitea issue 22}
is titled ``Verify resource-limited Zammad HTTPS support deployment.'' It was
created as \texttt{nkogut} after explicit team approval and links back to
\href{https://support.myfileagent.tech/\#ticket/zoom/4}{support ticket 71004}.
Its acceptance criteria cover trusted HTTPS, no published dependency ports,
customer/agent access, monitoring and recorded recovery results. A
customer-visible HTML note in ticket 71004 links to the issue and records
the observed resolution. The issue remains open for the remaining acceptance
and publication checks; its existence is not evidence of a reviewed merge.
No application code change or new Jenkins integration was necessary for this
manual ticket-to-engineering link. Existing branch protection and the earlier
review/check workflow remain applicable to implementation source publication.
\begin{figure}[htbp]\centering
\includegraphics[width=.75\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/gitea-issue-22.png}
\caption{Actual Gitea issue 22, including its reverse link to synthetic ticket
71004. The screenshot records an open issue, not a completed review.}
\label{Figure:ZammadEngineeringIssue}
\end{figure}
\section{9. Existing monitoring extension}
The support root URL was appended to the existing Prometheus \texttt{https}
job. The Gitea, Jenkins and production application targets, \texttt{/probe}
path, \texttt{http\_2xx} module, 30-second interval and relabeling were retained.
No duplicate job, new exporter or new alert rule was introduced. The saved
configuration passed \texttt{promtool check config}. After startup readiness,
an instant query returned \texttt{probe\_success=1} for the support URL.
Three panels were appended to the existing provisioned team SRE dashboard:
\begin{verbatim}
probe_success{job="https",instance="https://support.myfileagent.tech/"}
probe_duration_seconds{job="https",instance="https://support.myfileagent.tech/"}
(probe_ssl_earliest_cert_expiry{job="https",
instance="https://support.myfileagent.tech/"} - time()) / 86400
\end{verbatim}
They are labeled Zammad HTTPS reachable (0/1), Zammad probe duration (seconds),
and TLS certificate remaining lifetime (days). Existing host CPU, memory and
filesystem panels are retained for before/after comparisons; these describe
the whole host, not individual containers. Provisioned JSON is saved in
\path{monitoring/grafana/provisioning/dashboards/json/team-sre.json}.
An authenticated Grafana session displayed all three Zammad panels alongside
the existing host and Gitea/Jenkins panels. Screenshots show the actual
support reachability dip/recovery, probe-duration measurements and roughly
89.93 days of certificate lifetime. The TLS field's unit was changed from
an auto-scaling duration to a literal days suffix, so it does not display
weeks under a days title. Exporter scrape
\texttt{up=1} and destination \texttt{probe\_success=1} are different checks.
The login probe verifies TLS, HTTP and timing, not login or ticket persistence.
\begin{figure}[htbp]\centering
\includegraphics[width=.75\linewidth,height=.77\textheight,keepaspectratio]{hw9_images/grafana-recovery-window.png}
\caption{Actual authenticated Grafana view, November 18, 15:37--15:41 New York
time. Zammad reachability falls to zero for the controlled frontend outage
and returns to one; the existing dashboard also shows probe duration.}
\label{Figure:ZammadGrafanaRecovery}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.75\linewidth,height=.77\textheight,keepaspectratio]{hw9_images/grafana-support-duration-tls-days.png}
\caption{Actual support duration and certificate-lifetime panels, with TLS
lifetime explicitly displayed in days. A later duration spike remains visible;
these measurements do not establish a latency objective or uninterrupted uptime.}
\label{Figure:ZammadGrafanaTLS}\end{figure}
\subsection{Whole-host before/after comparison}
The historical window from 13:30 New York time includes pre-installation
observations, the original overloaded startup period and the post-upgrade,
limited-stack period. CPU rises toward 100\% during the first startup and is
around 40--50\% at the later screenshot. Available memory and root available
space are shown in the retained Node Exporter panels. Root available space
increased after the disk upgrade; this cannot be attributed to application
tuning alone. The memory capacity also changed, so absolute available memory
is not a like-for-like workload comparison. Missing data during the stopped
Prometheus/restart interval is left as a gap; it does not mean zero usage or
prove service availability. Earlier Gitea probe failures around the initial
overloaded startup are retained in the historical view, rather than hidden
as a claim that all earlier services stayed continuously available.
\begin{figure}[htbp]\centering
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-cpu-before-after.png}
\caption{Reused whole-Droplet CPU panel before and after installation and
upgrade; observation gaps are preserved.}\label{Figure:ZammadHostCPU}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-memory-before-after.png}
\caption{Reused available-host-memory panel over the same historical window;
this is not per-container usage.}\label{Figure:ZammadHostMemory}\end{figure}
\begin{figure}[htbp]\centering
\includegraphics[width=.72\linewidth,height=.72\textheight,keepaspectratio]{hw9_images/grafana-host-memory-disk.png}
\caption{Reused root-filesystem available-space panel. The post-upgrade
increase is interpreted alongside the changed disk capacity, not as disk
space reclaimed by stopping a container.}\label{Figure:ZammadHostDisk}\end{figure}
\section{10. Controlled outage, persistence and backup}
The isolated test stopped only \texttt{zammad-nginx}, then restarted it in a
\texttt{finally} recovery path. No volume was removed. The first collector
used query-evaluation timestamps; because different query times do not prove
different scrapes, that collector was corrected to also query
\texttt{timestamp(probe\_success\{...\})}. The corrected test records two
distinct failed scrape timestamps before recovery. The corrected test ran
20:38:30--20:39:53 UTC on November 18 (15:38:30--15:39:53 New York time).
Failed scrapes were at 20:38:39.371 and 20:39:09.371 UTC; the recovered
successful scrape was 20:39:39.371 UTC. These are sampled observations, not
exact outage boundaries. Use the latest
\path{support/evidence/recovery-evidence.json}, retaining its actual timestamps,
rather than inferring an exact outage length from sampled data.
\begin{figure}[htbp]\centering
\begin{tikzpicture}[x=.085cm,y=1.8cm]
\draw[-{Stealth}] (-5,0)--(105,0) node[right]{\scriptsize seconds};
\draw[-{Stealth}] (0,-.10)--(0,1.35) node[above]{\scriptsize probe success};
\draw[devopsBlue,thick] (0,1)--(30,0)--(60,0)--(90,1);
\foreach \x/\y in {0/1,30/0,60/0,90/1}{\fill[devopsBlue] (\x,\y) circle[radius=1.5pt];}
\foreach \x in {0,30,60,90}{\draw (\x,0)--(\x,-.04) node[below]{\scriptsize\x};}
\node[left] at (0,1){\scriptsize 1};
\node[below,align=center] at (45,-.30){\scriptsize Origin: November 18, 2026, 20:38:09.371 UTC\\\scriptsize Failed scrapes: +30 s, +60 s; recovered sample: +90 s};
\end{tikzpicture}
\caption{Graph of the four distinct recorded scrape instants from the
corrected recovery test. Connecting lines guide the eye only; intermediate
availability and exact transition times are not inferred. The matching
Grafana dashboard screenshot is a separate outstanding browser check.}
\label{Figure:ZammadRecoverySamples}\end{figure}
The final audit queries the full 15:37--15:41 New York test window: Gitea
login, Jenkins login and production health each returned nine successful
probe samples; support included zero and one. This supports sampled continuity
of earlier services during the isolated test, not uninterrupted availability
outside the samples.
After frontend recovery, TA authentication still worked, ticket 71003 was
present, and the retained conversation included the internal note. This is
web-service restart persistence, not database restore or off-site backup.
The official backup container logged \texttt{backup finished :)} after a
startup backup. Metadata-only inspection found
\path{20261118152258_zammad_db.psql.gz} (6,804,179 bytes) and
\path{20261118152258_zammad_files.tar.gz} (126 bytes). Contents were not
exposed; the small file archive does not prove attachment restoration.
It writes to \path{dos-support_zammad-backup}; the shared
application volume is \path{dos-support_zammad-storage}. Other retained
volumes are \path{dos-support_postgresql-data},
\path{dos-support_elasticsearch-data} and \path{dos-support_redis-data}.
Memcached is disposable; Rails, nginx, websocket, scheduler and init do not
each need an independent data volume.
\subsection{Startup, shutdown, recovery and restore runbook}
\begin{enumerate}
\item For status, use \texttt{docker compose ps -a} and bounded logs from the
deployment directory. Check Rails health, successful init exit, search
readiness and destination probe; a running container is insufficient.
\item For routine shutdown use \texttt{docker compose stop}; for restart use
\texttt{docker compose start} with the retained containers. To apply changed
limits, validate first and use \texttt{docker compose up -d} for the affected
services. Preserve the private environment and volume names.
\item For a failed frontend, inspect nginx and Rails logs, restore the last
working non-secret configuration and matching private environment, validate,
start the affected services, and verify HTTPS plus authenticated ticket read.
Raise only a demonstrated failing resource limit; do not disable earlier
assignments. Recheck the complete required workflow after each adjustment.
\item Before a restore, follow the backup/restore instructions from the exact
recorded upstream revision and compatible application/database images. Preserve
an additional copy of current volumes, choose a verified matching backup,
stop application writers and stage the selected timestamped archives under
\path{/var/tmp/zammad/restore/} in the backup volume. The built-in restore
uses the latest filename timestamp; do not stage ambiguous backups or the
\texttt{latest\_zammad} links. Starting the stack triggers restoration and
other application services wait. Follow the matching guide's file-storage
cleanup requirements only after preserving current data and authorizing
destructive changes; none were performed here. Rebuild the search index and
verify database, attachments, authentication and a known ticket afterward.
The official Docker-specific restore guide is linked for operators
\cite{ZammadDockerRestoreA9}; this exercise did not execute a restore.
\item Never use \texttt{docker compose down -v}, remove the persistent volumes,
or run a broad Docker prune as part of this lab. A same-Droplet backup is not
protection against loss of the Droplet or its disk. Off-Droplet replication is
not claimed.
\end{enumerate}
\subsection{November 20 browser acceptance and indexing repair}
Customer autocomplete initially failed because the derived User search index
contained only one record. The official model methods
\texttt{User.search\_index\_reload(worker: 0)} and
\texttt{Ticket.search\_index\_reload(worker: 0)}, followed by
\texttt{SearchIndexBackend.refresh}, completed successfully using the existing
image and scheduler limits. The scheduler was paused during this one-time
operation and restarted afterward. Database records and volumes were retained.
The User index then contained six records and Customer autocomplete found
the existing Demo Customer. The saved JSON records the operation and exit status.
Logged in as \texttt{ta.agent}, the browser created ticket 71007, selected
Demo Customer, assigned TA Agent, retained normal priority, submitted an
internal note and then submitted a customer-visible resolution reply with
state closed. A separate Demo Customer login displayed the public reply and
closed state, with internal article 13 absent. This supplements, rather than
relabels, the earlier API-only CRUD test on ticket 71006. No SMTP delivery
was attempted. The earlier open, assigned and closed example tickets remain.
\begin{figure}[htbp]
\centering\includegraphics[width=\textwidth]{hw9_images/ta-browser-closed-reply.png}
\caption{TA Agent browser workflow: saved internal note, public resolution,
assigned owner, normal priority and closed state on ticket 71007.}
\label{fig:taBrowserClosedReply}
\end{figure}
\begin{figure}[htbp]
\centering\includegraphics[width=\textwidth]{hw9_images/customer-browser-closed-reply.png}
\caption{Demo Customer sees ticket 71007's public resolution and closed
state; the internal TA note is excluded from the conversation.}
\label{fig:customerBrowserClosedReply}
\end{figure}
\section{11. Deliverable coverage, final rechecks and remaining gaps}
\begin{longtable}{L{3.2cm}L{6.2cm}L{3.4cm}}
\caption{Required Chapter 7 deliverable audit}\label{Table:ZammadCoverage}\\
\toprule Required aspect & Saved evidence / chapter location & Verification boundary\\\midrule\endhead
Deployment / continuity & Revision, images, manifest, architecture, final HTTPS observations & All six HTTPS checks returned 200\\
Capacity and versions & Initial observations, user-confirmed Basic 1 vCPU/2 GB/50 GB at \$12/month, explicit limits & Full pre-install command baseline cannot be reconstructed\\
Persistence / backups & Named volume manifest, backup success, retained ticket/conversation & Database restore not tested\\
HTTPS / exposure & Certificate, redirect, blocked ports, private networks, cloud rules/attachment, privileged host audit and effective SSH & UFW inactive; cloud firewall restricts inbound ports\\
Accounts / TA & Agent-only TA/group access, API CRUD 71006, browser workflow 71007 & Browser create, assign, internal/public reply and close verified\\
Three ticket examples & Open 71002, assigned 71003, closed 71004; internal note/public reply & Browser visibility/isolation screenshots included\\
Engineering link & Issue 22 and ticket 71004 bidirectional link, resolution note, screenshot & Issue remains open\\
Monitoring & Existing job, three displayed panels, successful probe and host comparison & Authenticated Grafana screenshots included\\
Recovery graph & Corrected timestamps, source graph, Grafana recovery window, retained conversation & Two failed distinct scrapes and recovery verified\\
Manual / source & This chapter, Hosts, password hints, history, AI log, sanitized configuration & No PDF compiled; final Jenkins artifact pending\\\bottomrule
\end{longtable}
Every pending item is a required evidence follow-up, not an optional extra or
an assertion of completion. Before submission: review the saved TA
browser evidence for ticket 71007 (create, assign, internal/public
reply and close are now exercised through the portal);
the privileged host-rule and effective key-only SSH evidence is now included,
alongside cloud rules and attachment screenshots;
record the grading window; provide TA
credentials privately; and run the user-authorized Jenkins PDF build followed
by visual and reference verification. Do not submit this unbuilt source draft
as a verified final PDF. After grading, retain evidence and the manual, revoke
temporary TA access, and obtain team approval before stopping paid resources
or changing costs. Existing services and their storage remain team-owned.
The assignment branch was published to Gitea and independently verified with
\texttt{git ls-remote}, including host-audit commit
\texttt{98a3a6d39e438e7fef7579f4f695687aa0a5b5e7}. This publication did not
merge main or compile a manual PDF. Use these immutable source links for the
verified implementation and evidence:
\begin{itemize}
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/support}{Sanitized support configuration and evidence directory}.
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/documentation/devopsSupportTicketManagement.tex}{Support chapter source at the verified revision}.
\item \href{https://myfileagent.tech/myfileagent/myfileagent-pipeline/src/commit/98a3a6d39e438e7fef7579f4f695687aa0a5b5e7/documentation/hw9_images}{Original screenshot evidence}.
\end{itemize}
Later source-reconciliation commits supplement this immutable evidence set.
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

+8 -7
View File
@@ -49,17 +49,17 @@
\definecolor{devopsLightBlue}{RGB}{232,240,247} \definecolor{devopsLightBlue}{RGB}{232,240,247}
% Replace these values for each assignment. % Replace these values for each assignment.
\newcommand{\AssignmentTitle}{Secure Delivery and Rollback} \newcommand{\AssignmentTitle}{Support Ticket Management with Zammad}
\newcommand{\AssignmentNumber}{8} \newcommand{\AssignmentNumber}{9}
\newcommand{\DocumentVersion}{1.10.1} \newcommand{\DocumentVersion}{1.11.0}
\newcommand{\DocumentStatus}{Final Draft} \newcommand{\DocumentStatus}{Implementation evidence draft; PDF build pending}
\newcommand{\CourseNumber}{SSW 590} \newcommand{\CourseNumber}{SSW 590}
\newcommand{\CourseName}{DevOps Principles and Practices} \newcommand{\CourseName}{DevOps Principles and Practices}
\newcommand{\Instructor}{Darian Muresan} \newcommand{\Instructor}{Darian Muresan}
\newcommand{\StudentNames}{Nicholas Kogut\\Gowri Das Lovely} \newcommand{\StudentNames}{Nicholas Kogut\\Gowri Das Lovely}
\newcommand{\PDFAuthors}{Nicholas Kogut and Gowri Das Lovely} \newcommand{\PDFAuthors}{Nicholas Kogut and Gowri Das Lovely}
\newcommand{\Organization}{Stevens Institute of Technology} \newcommand{\Organization}{Stevens Institute of Technology}
\newcommand{\DocumentDate}{November 8, 2026} \newcommand{\DocumentDate}{November 18, 2026}
\newcommand{\DueDate}{Not specified} \newcommand{\DueDate}{Not specified}
% Generated only in the build workspace; never committed by the workflow. % Generated only in the build workspace; never committed by the workflow.
\newcommand{\BuildSuffix}{+local.unverified} \newcommand{\BuildSuffix}{+local.unverified}
@@ -73,8 +73,8 @@
pdftitle={\CourseNumber\ --- Assignment \AssignmentNumber: \AssignmentTitle}, pdftitle={\CourseNumber\ --- Assignment \AssignmentNumber: \AssignmentTitle},
pdfauthor={\PDFAuthors}, pdfauthor={\PDFAuthors},
pdfcreator={Darian Muresan, Ph.D., with OpenAI Codex and Anthropic Claude Code}, pdfcreator={Darian Muresan, Ph.D., with OpenAI Codex and Anthropic Claude Code},
pdfsubject={SSW 590 Assignment 8 secure delivery and rollback}, pdfsubject={SSW 590 Assignment 9 support ticket management with Zammad},
pdfkeywords={DevOps, delivery, security, Ansible, Jenkins, rollback, monitoring} pdfkeywords={DevOps, Zammad, support tickets, HTTPS, monitoring, persistence}
} }
\newcolumntype{Y}{>{\raggedright\arraybackslash}X} \newcolumntype{Y}{>{\raggedright\arraybackslash}X}
@@ -159,6 +159,7 @@
\include{devopsJenkinsContinuousIntegration} \include{devopsJenkinsContinuousIntegration}
\include{devopsSREMonitoringReliability} \include{devopsSREMonitoringReliability}
\include{devopsSecureDeliveryRollback} \include{devopsSecureDeliveryRollback}
\include{devopsSupportTicketManagement}
\bibliographystyle{IEEEtran} \bibliographystyle{IEEEtran}
\bibliography{devopsReferences} \bibliography{devopsReferences}
@@ -420,6 +420,105 @@
"range": true "range": true
} }
] ]
},
{
"id": 7,
"title": "Zammad HTTPS reachable (0/1)",
"type": "timeseries",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 0,
"y": 27,
"w": 8,
"h": 7
},
"targets": [
{
"refId": "A",
"expr": "probe_success{job=\"https\",instance=\"https://support.myfileagent.tech/\"}"
}
],
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
},
{
"id": 8,
"title": "Zammad probe duration (seconds)",
"type": "timeseries",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 8,
"y": 27,
"w": 8,
"h": 7
},
"targets": [
{
"refId": "A",
"expr": "probe_duration_seconds{job=\"https\",instance=\"https://support.myfileagent.tech/\"}"
}
],
"fieldConfig": {
"defaults": {
"unit": "s"
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
},
{
"id": 9,
"title": "TLS certificate remaining lifetime (days)",
"type": "timeseries",
"datasource": {
"type": "prometheus",
"uid": "prometheus"
},
"gridPos": {
"x": 16,
"y": 27,
"w": 8,
"h": 7
},
"targets": [
{
"refId": "A",
"expr": "(probe_ssl_earliest_cert_expiry{job=\"https\",instance=\"https://support.myfileagent.tech/\"} - time()) / 86400"
}
],
"fieldConfig": {
"defaults": {
"unit": "suffix: days"
},
"overrides": []
},
"options": {
"legend": {
"displayMode": "list",
"placement": "bottom"
}
}
} }
] ]
} }
+1
View File
@@ -20,6 +20,7 @@ scrape_configs:
- https://myfileagent.tech/user/login - https://myfileagent.tech/user/login
- https://ci.myfileagent.tech/login - https://ci.myfileagent.tech/login
- https://app.myfileagent.tech/health - https://app.myfileagent.tech/health
- https://support.myfileagent.tech/
relabel_configs: relabel_configs:
- source_labels: [__address__] - source_labels: [__address__]
target_label: __param_target target_label: __param_target
+42
View File
@@ -0,0 +1,42 @@
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=0
ZAMMAD_MANAGE_SESSIONS_JOBS_WORKERS=0
ZAMMAD_PROCESS_SCHEDULED_JOBS_WORKERS=0
ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS=0
ZAMMAD_PROCESS_DELAYED_JOBS_WORKER_THREADS=1
ZAMMAD_PROCESS_DELAYED_AI_JOBS_WORKERS=1
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_WORKERS=1
ZAMMAD_PROCESS_DELAYED_AI_JOBS_DISABLE=true
ZAMMAD_PROCESS_DELAYED_COMMUNICATION_INBOUND_JOBS_DISABLE=true
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
+3
View File
@@ -0,0 +1,3 @@
.env
*.private.json
.env.before*
+3
View File
@@ -0,0 +1,3 @@
support.myfileagent.tech {
reverse_proxy zammad-nginx:8080
}
+337
View File
@@ -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
+10
View File
@@ -0,0 +1,10 @@
{
"users": {
"admin": 3,
"agent": 4,
"ta": 5,
"customer": 6,
"other_customer": 7
},
"group": 2
}
@@ -0,0 +1,14 @@
{
"date": "2026-11-18",
"browser": "ChatGPT in-app browser",
"observations": [
{"account": "ta.agent", "ticket": "71004", "result": "Authenticated browser view contains resolved ticket and clickable Gitea issue 22 link", "screenshot": "documentation/hw9_images/ta-resolved-ticket.png"},
{"account": "ta.agent", "ticket": "71003", "result": "Internal note and public reply visible", "screenshot": "documentation/hw9_images/ta-internal-note.png"},
{"account": "demo.customer", "result": "Own ticket overview includes open and closed synthetic requests", "screenshot": "documentation/hw9_images/customer-ticket-list.png"},
{"account": "demo.customer", "ticket": "71003", "result": "Public reply visible; internal note excluded from browser accessibility state", "screenshot": "documentation/hw9_images/customer-public-reply.png"},
{"account": "demo.customer", "ticket": "71005", "result": "You are not authorized to open this Ticket", "screenshot": "documentation/hw9_images/customer-other-ticket-denied.png"},
{"account": "nkogut", "issue": "22", "result": "Issue created with approved title, acceptance criteria, and reverse support-ticket link", "screenshot": "documentation/hw9_images/gitea-issue-22.png"}
],
"credential_handling": "Generated credentials remain privately on the droplet. User explicitly approved a temporary local copy for browser login tests; it was removed afterward. No passwords included in source or screenshots.",
"build_status": "LaTeX source only; user prohibited compilation until an explicitly authorized later Jenkins build."
}
+234
View File
@@ -0,0 +1,234 @@
{
"captured_at": "2026-11-18T21:00:39.148908+00:00",
"phase": "post-installation; not a reconstructed pre-install baseline",
"plan_user_report": {
"name": "Basic",
"vcpus": 1,
"ram_gb": 2,
"disk_gb": 50,
"monthly_usd": 12
},
"docker_version": {
"exit_code": 0,
"stdout": "Client: Docker Engine - Community\n Version: 29.8.1\n API version: 1.56\n Go version: go1.26.8\n Git commit: 4a63305\n Built: Tue Sep 15 16:26:01 2026\n OS/Arch: linux/amd64\n Context: default\n\nServer: Docker Engine - Community\n Engine:\n Version: 29.8.1\n API version: 1.56 (minimum version 1.40)\n Go version: go1.26.8\n Git commit: 464cd50\n Built: Tue Sep 15 16:26:01 2026\n OS/Arch: linux/amd64\n Experimental: false\n containerd:\n Version: v2.3.5\n GitCommit: 1294c24a7da8e5a793ed378161673abe94118892\n runc:\n Version: 1.5.1\n GitCommit: v1.5.1-0-g8f2685a4\n docker-init:\n Version: 0.19.0\n GitCommit: de40ad0",
"stderr": ""
},
"compose_version": {
"exit_code": 0,
"stdout": "Docker Compose version v5.5.1",
"stderr": ""
},
"memory": {
"exit_code": 0,
"stdout": "total used free shared buff/cache available\nMem: 1.9Gi 1.6Gi 90Mi 13Mi 423Mi 330Mi\nSwap: 2.0Gi 1.8Gi 212Mi",
"stderr": ""
},
"disk": {
"exit_code": 0,
"stdout": "Filesystem Size Used Avail Use% Mounted on\n/dev/vda1 48G 22G 26G 47% /",
"stderr": ""
},
"container_stats": {
"exit_code": 0,
"stdout": "dos-support-zammad-backup-1 CPU=0.00% RAM=620KiB / 192MiB\ndos-support-zammad-scheduler-1 CPU=1.16% RAM=233.3MiB / 384MiB\ndos-support-zammad-websocket-1 CPU=0.16% RAM=87.25MiB / 192MiB\ndos-support-zammad-nginx-1 CPU=0.00% RAM=1.41MiB / 64MiB\ndos-support-zammad-railsserver-1 CPU=0.06% RAM=80.68MiB / 384MiB\ndos-support-zammad-postgresql-1 CPU=1.72% RAM=31.49MiB / 128MiB\ndos-support-zammad-redis-1 CPU=3.00% RAM=6.422MiB / 48MiB\ndos-support-zammad-elasticsearch-1 CPU=0.61% RAM=277.7MiB / 384MiB\ndos-support-zammad-memcached-1 CPU=0.07% RAM=1.762MiB / 32MiB\npricing-staging-app-1 CPU=0.06% RAM=7.207MiB / 1.922GiB\npricing-production-app-1 CPU=0.01% RAM=10.05MiB / 1.922GiB\nassignment8-jenkins-agent CPU=0.52% RAM=21.02MiB / 256MiB\nmyfileagent-monitoring-grafana-1 CPU=1.21% RAM=163.3MiB / 1.922GiB\nmyfileagent-monitoring-prometheus-1 CPU=0.34% RAM=48.58MiB / 160MiB\nmyfileagent-monitoring-blackbox-exporter-1 CPU=0.00% RAM=17.98MiB / 32MiB\nmyfileagent-monitoring-node-exporter-1 CPU=0.00% RAM=10.5MiB / 32MiB\nmyfileagent-gitea CPU=0.14% RAM=132.2MiB / 1.922GiB\nmyfileagent-jenkins CPU=0.62% RAM=77MiB / 448MiB\nmyfileagent-manual-runner CPU=0.00% RAM=6.723MiB / 192MiB\nmyfileagent-caddy CPU=0.02% RAM=22.17MiB / 1.922GiB",
"stderr": ""
},
"networks": {
"exit_code": 0,
"stdout": "NETWORK ID NAME DRIVER SCOPE\n2d35771512be bridge bridge local\nf00e1e54e815 dos-support_default bridge local\nbeb046825b96 filepilot-gitea_default bridge local\nc60c38b39af3 host host local\n92f4e2c7b300 manual-build-jobs bridge local\nfafffed2f151 manual-build_runner-egress bridge local\nb6a036ce8755 myfileagent-gitea_edge bridge local\n86ed1c3d2d9e myfileagent-gitea_gitea-private bridge local\ndbaf723249ad myfileagent-monitoring_monitoring bridge local\nf70193a5842a none null local",
"stderr": ""
},
"host_ufw": {
"exit_code": 1,
"stdout": "",
"stderr": "sudo: a password is required"
},
"recovery_window_probe_series": {
"status": "success",
"data": {
"resultType": "matrix",
"result": [
{
"metric": {
"__name__": "probe_success",
"instance": "https://app.myfileagent.tech/health",
"job": "https"
},
"values": [
[
1795034220,
"1"
],
[
1795034250,
"1"
],
[
1795034280,
"1"
],
[
1795034310,
"1"
],
[
1795034340,
"1"
],
[
1795034370,
"1"
],
[
1795034400,
"1"
],
[
1795034430,
"1"
],
[
1795034460,
"1"
]
]
},
{
"metric": {
"__name__": "probe_success",
"instance": "https://ci.myfileagent.tech/login",
"job": "https"
},
"values": [
[
1795034220,
"1"
],
[
1795034250,
"1"
],
[
1795034280,
"1"
],
[
1795034310,
"1"
],
[
1795034340,
"1"
],
[
1795034370,
"1"
],
[
1795034400,
"1"
],
[
1795034430,
"1"
],
[
1795034460,
"1"
]
]
},
{
"metric": {
"__name__": "probe_success",
"instance": "https://myfileagent.tech/user/login",
"job": "https"
},
"values": [
[
1795034220,
"1"
],
[
1795034250,
"1"
],
[
1795034280,
"1"
],
[
1795034310,
"1"
],
[
1795034340,
"1"
],
[
1795034370,
"1"
],
[
1795034400,
"1"
],
[
1795034430,
"1"
],
[
1795034460,
"1"
]
]
},
{
"metric": {
"__name__": "probe_success",
"instance": "https://support.myfileagent.tech/",
"job": "https"
},
"values": [
[
1795034220,
"1"
],
[
1795034250,
"1"
],
[
1795034280,
"1"
],
[
1795034310,
"1"
],
[
1795034340,
"0"
],
[
1795034370,
"0"
],
[
1795034400,
"1"
],
[
1795034430,
"1"
],
[
1795034460,
"1"
]
]
}
]
}
}
}
+25
View File
@@ -0,0 +1,25 @@
{
"review_date_local": "2026-11-20",
"timezone": "America/New_York",
"verified_published_commit": "98a3a6d39e438e7fef7579f4f695687aa0a5b5e7",
"completed_since_original_remaining_steps_pdf": [
"Privileged host firewall and effective SSH audit collected via SSH",
"TA browser create, assign, internal note, public reply and close: ticket 71007",
"Separate Customer browser confirms public reply and closed state with internal note excluded",
"Administrator read-only TA identity, Agent-only role and Startup Support Full permission screenshots",
"Source branch and immutable configuration, chapter and screenshot links verified",
"Hosts audit status reconciled; multipage table environment corrected"
],
"administrator_login": "startup.admin@example.test",
"credential_handling": "Generated passwords remain in private droplet store; temporary local copies removed; no password reset",
"remaining": [
{"item":"Publish this final source reconciliation commit","input":"Existing Gitea credentials through the prepared SSH helper"},
{"item":"Team review of Hosts and private password handoff","input":"Team confirmation and approved password-manager destination"},
{"item":"Record grading availability window","input":"Instructor/team dates"},
{"item":"Build and visually verify the final manual PDF","input":"Explicit user authorization and selected Jenkins manual-build job; currently prohibited"},
{"item":"Final Canvas PDF submission and private TA credentials","input":"Human submission after verified build"},
{"item":"Retire temporary access after evaluation","input":"Confirmation grading ended; no current revocation authorized"}
],
"historical_limitations": ["Full pre-install baseline and original plan comparison were not captured at the required time; existing historical evidence retained without reconstruction"],
"not_performed": ["PDF compilation", "firewall changes", "credential reset", "database restore", "main merge", "post-grading account revocation"]
}
+217
View File
@@ -0,0 +1,217 @@
{
"captured_at": "2026-11-21T01:06:52.602819+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,22 @@
{
"date": "2026-11-18",
"mode": "Read-only authenticated DigitalOcean console inspection; no changes made",
"firewall": "ssw590-group7-gitea-firewall",
"firewall_id": "3400d1b3-7bb9-417a-b046-693bfddf1bcf",
"rule_count": 6,
"attached_droplet_count": 1,
"attached_droplet": {"name": "ssw590-group7-droplet", "id": "599455854", "console_description": "2 GB / 50 GB / NYC1"},
"inbound": [
{"protocol": "TCP", "port": 22, "sources": ["All IPv4", "All IPv6"], "policy_note": "Retained instructor-cleared key-only SSH exception documented in the earlier Gitea foundation chapter"},
{"protocol": "TCP", "port": 80, "sources": ["All IPv4", "All IPv6"]},
{"protocol": "TCP", "port": 443, "sources": ["All IPv4", "All IPv6"]}
],
"outbound": [
{"protocol": "ICMP", "destinations": ["All IPv4", "All IPv6"]},
{"protocol": "TCP", "ports": "All Ports", "destinations": ["All IPv4", "All IPv6"]},
{"protocol": "UDP", "ports": "All Ports", "destinations": ["All IPv4", "All IPv6"]}
],
"screenshots": ["documentation/hw9_images/digitalocean-firewall-rules-full.png", "documentation/hw9_images/digitalocean-firewall-attachment.png"],
"result": "No cloud-firewall rule or attachment issue found relative to the documented policy and approved SSH exception",
"limits": "This verifies the displayed cloud firewall and attachment, not privileged host firewall status or current effective sshd authentication settings."
}
@@ -0,0 +1,14 @@
{
"date": "2026-11-18",
"source": "Windows workstation outside the droplet",
"destination": "142.93.193.110",
"method": "System.Net.Sockets.TcpClient.ConnectAsync with a 2500 millisecond wait per port",
"ports": [
{"port": 8080, "reachable": false},
{"port": 5432, "reachable": false},
{"port": 9200, "reachable": false},
{"port": 6379, "reachable": false},
{"port": 11211, "reachable": false}
],
"limit": "No successful TCP connection from this test source; does not identify the cloud firewall rule or prove universal reachability policy."
}
+79
View File
@@ -0,0 +1,79 @@
{
"captured_at": "2026-11-18T20:45:47.156947+00:00",
"https": {
"https://support.myfileagent.tech/": {
"status": 200,
"final_url": "https://support.myfileagent.tech/"
},
"https://myfileagent.tech/user/login": {
"status": 200,
"final_url": "https://myfileagent.tech/user/login"
},
"https://ci.myfileagent.tech/login": {
"status": 200,
"final_url": "https://ci.myfileagent.tech/login"
},
"https://metrics.myfileagent.tech/login": {
"status": 200,
"final_url": "https://metrics.myfileagent.tech/login"
},
"https://app.myfileagent.tech/health": {
"status": 200,
"final_url": "https://app.myfileagent.tech/health"
},
"https://staging.myfileagent.tech/health": {
"status": 200,
"final_url": "https://staging.myfileagent.tech/health"
},
"http://support.myfileagent.tech/": {
"status": 200,
"final_url": "https://support.myfileagent.tech/"
}
},
"certificate": {
"issuer": [
[
[
"countryName",
"US"
]
],
[
[
"organizationName",
"Let's Encrypt"
]
],
[
[
"commonName",
"YE1"
]
]
],
"subject": [
[
[
"commonName",
"support.myfileagent.tech"
]
]
],
"not_before": "Nov 18 19:20:36 2026 GMT",
"not_after": "Feb 16 19:20:35 2027 GMT",
"subject_alt_names": [
[
"DNS",
"support.myfileagent.tech"
]
],
"verification": "default trust chain and hostname verification enabled"
},
"support_ipv6_dns": [],
"global_ipv6": "",
"listening_tcp": "State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess\nLISTEN 0 4096 127.0.0.54:53 0.0.0.0:* \nLISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* \nLISTEN 0 4096 127.0.0.1:3000 0.0.0.0:* \nLISTEN 0 4096 127.0.0.1:8080 0.0.0.0:* \nLISTEN 0 128 127.0.0.1:55536 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:443 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:80 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:22 0.0.0.0:* \nLISTEN 0 4096 [::]:443 [::]:* \nLISTEN 0 4096 [::]:80 [::]:* \nLISTEN 0 4096 [::]:22 [::]:*",
"backup_metadata": "20261118152258_zammad_db.psql.gz 6804179 bytes\n20261118152258_zammad_files.tar.gz 126 bytes",
"probe_success": "{\"status\":\"success\",\"data\":{\"resultType\":\"vector\",\"result\":[{\"metric\":{\"__name__\":\"probe_success\",\"instance\":\"https://myfileagent.tech/user/login\",\"job\":\"https\"},\"value\":[1795034748.812,\"1\"]},{\"metric\":{\"__name__\":\"probe_success\",\"instance\":\"https://ci.myfileagent.tech/login\",\"job\":\"https\"},\"value\":[1795034748.812,\"1\"]},{\"metric\":{\"__name__\":\"probe_success\",\"instance\":\"https://app.myfileagent.tech/health\",\"job\":\"https\"},\"value\":[1795034748.812,\"1\"]},{\"metric\":{\"__name__\":\"probe_success\",\"instance\":\"https://support.myfileagent.tech/\",\"job\":\"https\"},\"value\":[1795034748.812,\"1\"]}]}}",
"docker_version": "29.8.1",
"compose_version": "Docker Compose version v5.5.1"
}
@@ -0,0 +1,48 @@
{
"captured_at": "2026-11-18T21:08:21.301955+00:00",
"destination": "142.93.193.110",
"source": "Windows workstation outside the droplet",
"mode": "read-only; no firewall or service changes",
"tcp": [
{
"port": 8080,
"reachable": false,
"error": "TimeoutError"
},
{
"port": 5432,
"reachable": false,
"error": "TimeoutError"
},
{
"port": 9200,
"reachable": false,
"error": "TimeoutError"
},
{
"port": 6379,
"reachable": false,
"error": "TimeoutError"
},
{
"port": 11211,
"reachable": false,
"error": "TimeoutError"
}
],
"support_https": {
"status": 200,
"url": "https://support.myfileagent.tech/",
"tls_verification": "default trust and hostname verification"
},
"host_and_container_observations": {
"exit_code": 0,
"stdout": "State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess\nLISTEN 0 4096 127.0.0.54:53 0.0.0.0:* \nLISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* \nLISTEN 0 4096 127.0.0.1:3000 0.0.0.0:* \nLISTEN 0 4096 127.0.0.1:8080 0.0.0.0:* \nLISTEN 0 128 127.0.0.1:55536 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:443 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:80 0.0.0.0:* \nLISTEN 0 4096 0.0.0.0:22 0.0.0.0:* \nLISTEN 0 4096 [::]:443 [::]:* \nLISTEN 0 4096 [::]:80 [::]:* \nLISTEN 0 4096 [::]:22 [::]:* \n/dos-support-zammad-nginx-1 published={} networks=f00e1e54e81592cc754af9b84b4ef4b2a3a8e863b10adc335c40aa0ba5b5de6f b6a036ce875594ce812f7bcf760f3cf1a28aa63fdd29cfdf18d6244c1fffc439 \n/dos-support-zammad-postgresql-1 published={} networks=f00e1e54e81592cc754af9b84b4ef4b2a3a8e863b10adc335c40aa0ba5b5de6f \n/dos-support-zammad-elasticsearch-1 published={} networks=f00e1e54e81592cc754af9b84b4ef4b2a3a8e863b10adc335c40aa0ba5b5de6f \n/dos-support-zammad-redis-1 published={} networks=f00e1e54e81592cc754af9b84b4ef4b2a3a8e863b10adc335c40aa0ba5b5de6f \n/dos-support-zammad-memcached-1 published={} networks=f00e1e54e81592cc754af9b84b4ef4b2a3a8e863b10adc335c40aa0ba5b5de6f \n",
"stderr": ""
},
"verification_limits": [
"Cloud firewall attachment and source CIDRs require authenticated DigitalOcean inspection.",
"Host firewall rule status still requires authorized privileged inspection.",
"Unreachable TCP ports alone do not identify which filtering layer enforced the result."
]
}
@@ -0,0 +1,18 @@
{
"date": "2026-11-18",
"method": "Authenticated ChatGPT in-app browser observation and unaltered screenshots",
"dashboard": "https://metrics.myfileagent.tech/d/myfileagent-sre/myfileagent-sre-monitoring",
"panels_verified": ["Zammad HTTPS reachable (0/1)", "Zammad probe duration (seconds)", "TLS certificate remaining lifetime (days)"],
"tls_display": "Literal days suffix; approximately 89.93 days at capture. Query remains (certificate expiry - time()) / 86400.",
"recovery_window_local": "2026-11-18 15:37:00 through 15:41:00 America/New_York",
"recovery_window_utc": "2026-11-18 20:37:00 through 20:41:00 UTC",
"historical_host_window": "2026-11-18 13:30 America/New_York through screenshot capture",
"screenshots": [
"documentation/hw9_images/grafana-recovery-window.png",
"documentation/hw9_images/grafana-support-duration-tls-days.png",
"documentation/hw9_images/grafana-host-cpu-before-after.png",
"documentation/hw9_images/grafana-host-memory-before-after.png",
"documentation/hw9_images/grafana-host-memory-disk.png"
],
"limits": ["Host capacity changed during the window, so workload comparisons are not controlled experiments.", "Missing monitoring data remains visible and is not interpreted as zero usage or successful availability.", "Graphs connect discrete samples; they do not establish exact outage boundaries."]
}
+161
View File
@@ -0,0 +1,161 @@
Sat Nov 21 01:33:14 UTC 2026
Status: inactive
-P INPUT ACCEPT
-P FORWARD DROP
-P OUTPUT ACCEPT
-N DOCKER
-N DOCKER-BRIDGE
-N DOCKER-CT
-N DOCKER-FORWARD
-N DOCKER-INTERNAL
-N DOCKER-USER
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-FORWARD
-A DOCKER -d 172.20.0.4/32 ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -p tcp -m tcp --dport 8080 -j ACCEPT
-A DOCKER -d 172.20.0.3/32 ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -p tcp -m tcp --dport 3000 -j ACCEPT
-A DOCKER -d 172.19.0.2/32 ! -i br-b6a036ce8755 -o br-b6a036ce8755 -p tcp -m tcp --dport 443 -j ACCEPT
-A DOCKER -d 172.19.0.2/32 ! -i br-b6a036ce8755 -o br-b6a036ce8755 -p tcp -m tcp --dport 80 -j ACCEPT
-A DOCKER ! -i br-fafffed2f151 -o br-fafffed2f151 -j DROP
-A DOCKER ! -i br-86ed1c3d2d9e -o br-86ed1c3d2d9e -j DROP
-A DOCKER ! -i br-92f4e2c7b300 -o br-92f4e2c7b300 -j DROP
-A DOCKER ! -i br-b6a036ce8755 -o br-b6a036ce8755 -j DROP
-A DOCKER ! -i br-beb046825b96 -o br-beb046825b96 -j DROP
-A DOCKER ! -i br-dbaf723249ad -o br-dbaf723249ad -j DROP
-A DOCKER ! -i br-f00e1e54e815 -o br-f00e1e54e815 -j DROP
-A DOCKER ! -i docker0 -o docker0 -j DROP
-A DOCKER-BRIDGE -o br-fafffed2f151 -j DOCKER
-A DOCKER-BRIDGE -o br-86ed1c3d2d9e -j DOCKER
-A DOCKER-BRIDGE -o br-92f4e2c7b300 -j DOCKER
-A DOCKER-BRIDGE -o br-b6a036ce8755 -j DOCKER
-A DOCKER-BRIDGE -o br-beb046825b96 -j DOCKER
-A DOCKER-BRIDGE -o br-dbaf723249ad -j DOCKER
-A DOCKER-BRIDGE -o br-f00e1e54e815 -j DOCKER
-A DOCKER-BRIDGE -o docker0 -j DOCKER
-A DOCKER-CT -o br-fafffed2f151 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-86ed1c3d2d9e -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-92f4e2c7b300 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-b6a036ce8755 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-beb046825b96 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-dbaf723249ad -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o br-f00e1e54e815 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-CT -o docker0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A DOCKER-FORWARD -j DOCKER-CT
-A DOCKER-FORWARD -j DOCKER-INTERNAL
-A DOCKER-FORWARD -j DOCKER-BRIDGE
-A DOCKER-FORWARD -i br-fafffed2f151 -j ACCEPT
-A DOCKER-FORWARD -i br-86ed1c3d2d9e -j ACCEPT
-A DOCKER-FORWARD -i br-92f4e2c7b300 -j ACCEPT
-A DOCKER-FORWARD -i br-b6a036ce8755 -j ACCEPT
-A DOCKER-FORWARD -i br-beb046825b96 -j ACCEPT
-A DOCKER-FORWARD -i br-dbaf723249ad -j ACCEPT
-A DOCKER-FORWARD -i br-f00e1e54e815 -j ACCEPT
-A DOCKER-FORWARD -i docker0 -j ACCEPT
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-N DOCKER
-N DOCKER-BRIDGE
-N DOCKER-CT
-N DOCKER-FORWARD
-N DOCKER-INTERNAL
-N DOCKER-USER
-A FORWARD -j DOCKER-USER
-A FORWARD -j DOCKER-FORWARD
-A DOCKER-FORWARD -j DOCKER-CT
-A DOCKER-FORWARD -j DOCKER-INTERNAL
-A DOCKER-FORWARD -j DOCKER-BRIDGE
port 22
addressfamily any
listenaddress [::]:22
listenaddress 0.0.0.0:22
usepam yes
logingracetime 120
x11displayoffset 10
maxauthtries 6
maxsessions 10
clientaliveinterval 0
clientalivecountmax 3
requiredrsasize 1024
streamlocalbindmask 0177
unusedconnectiontimeout none
permitrootlogin without-password
ignorerhosts yes
ignoreuserknownhosts no
hostbasedauthentication no
hostbasedusesnamefrompacketonly no
pubkeyauthentication yes
kerberosauthentication no
kerberosorlocalpasswd yes
kerberosticketcleanup yes
gssapiauthentication no
gssapicleanupcredentials yes
gssapikeyexchange no
gssapistrictacceptorcheck yes
gssapistorecredentialsonrekey no
gssapikexalgorithms gss-group14-sha256-,gss-group16-sha512-,gss-nistp256-sha256-,gss-curve25519-sha256-,gss-group14-sha1-,gss-gex-sha1-
passwordauthentication no
kbdinteractiveauthentication no
printmotd no
printlastlog yes
x11forwarding yes
x11uselocalhost yes
permittty yes
permituserrc yes
strictmodes yes
tcpkeepalive yes
permitemptypasswords no
compression yes
gatewayports no
usedns no
allowtcpforwarding yes
allowagentforwarding yes
disableforwarding no
allowstreamlocalforwarding yes
streamlocalbindunlink no
fingerprinthash SHA256
exposeauthinfo no
debianbanner yes
pidfile /run/sshd.pid
modulifile /etc/ssh/moduli
xauthlocation /usr/bin/xauth
ciphers chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com
macs umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
banner none
forcecommand none
chrootdirectory none
trustedusercakeys none
revokedkeys none
securitykeyprovider internal
authorizedprincipalsfile none
versionaddendum none
authorizedkeyscommand none
authorizedkeyscommanduser none
authorizedprincipalscommand none
authorizedprincipalscommanduser none
hostkeyagent none
kexalgorithms sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
casignaturealgorithms ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostbasedacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
hostkeyalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
pubkeyacceptedalgorithms ssh-ed25519-cert-v01@openssh.com,ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-ed25519,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ssh-ed25519@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,rsa-sha2-512,rsa-sha2-256
loglevel INFO
syslogfacility AUTH
authorizedkeysfile .ssh/authorized_keys .ssh/authorized_keys2
hostkey /etc/ssh/ssh_host_rsa_key
hostkey /etc/ssh/ssh_host_ecdsa_key
hostkey /etc/ssh/ssh_host_ed25519_key
acceptenv LANG
acceptenv LC_*
authenticationmethods any
channeltimeout none
subsystem sftp /usr/lib/openssh/sftp-server
maxstartups 10:30:100
persourcemaxstartups none
persourcenetblocksize 32:128
permittunnel no
ipqos lowdelay throughput
rekeylimit 0 0
permitopen any
permitlisten any
permituserenvironment no
pubkeyauthoptions none
+52
View File
@@ -0,0 +1,52 @@
{
"started": "2026-11-18T20:38:30.033397+00:00",
"samples": [
{
"observed_at": "2026-11-18T20:38:31.901901+00:00",
"sample_timestamp": 1795034311.874,
"value": 1.0,
"scrape_timestamp": 1795034289.371
},
{
"observed_at": "2026-11-18T20:38:45.016710+00:00",
"sample_timestamp": 1795034325.004,
"value": 0.0,
"scrape_timestamp": 1795034319.371
},
{
"observed_at": "2026-11-18T20:38:55.548196+00:00",
"sample_timestamp": 1795034335.532,
"value": 0.0,
"scrape_timestamp": 1795034319.371
},
{
"observed_at": "2026-11-18T20:39:05.933504+00:00",
"sample_timestamp": 1795034345.919,
"value": 0.0,
"scrape_timestamp": 1795034319.371
},
{
"observed_at": "2026-11-18T20:39:16.630441+00:00",
"sample_timestamp": 1795034356.603,
"value": 0.0,
"scrape_timestamp": 1795034349.371
},
{
"observed_at": "2026-11-18T20:39:31.896293+00:00",
"sample_timestamp": 1795034371.865,
"value": 0.0,
"scrape_timestamp": 1795034349.371
},
{
"observed_at": "2026-11-18T20:39:42.923620+00:00",
"sample_timestamp": 1795034382.906,
"value": 1.0,
"scrape_timestamp": 1795034379.371
}
],
"two_distinct_failed_scrapes": true,
"probe_recovered": true,
"persisted_ticket": "71003",
"conversation_retained": true,
"finished": "2026-11-18T20:39:53.408816+00:00"
}
@@ -0,0 +1,9 @@
{
"date": "2026-11-20",
"trigger": "Real browser ticket-create Customer autocomplete could not find existing synthetic users; user index contained only one record.",
"original_state": {"scheduler_limit_mib": 384, "forked_workers_per_required_service": 1, "observed_cgroup_oom_kill": 3, "missing_services": ["ProcessDelayedJobs", "ProcessScheduledJobs"]},
"trial": {"scheduler_limit_mib": 512, "observed_cgroup_oom_kill": 1, "missing_service": "ProcessDelayedJobs"},
"source_inspected": "Official pinned image: lib/background_services/service_config.rb, ServiceConfig.start_as selects fork when workers.positive? and thread otherwise.",
"correction": {"scheduler_limit_mib": 384, "ZAMMAD_PROCESS_SESSIONS_JOBS_WORKERS": 0, "ZAMMAD_MANAGE_SESSIONS_JOBS_WORKERS": 0, "ZAMMAD_PROCESS_SCHEDULED_JOBS_WORKERS": 0, "ZAMMAD_PROCESS_DELAYED_JOBS_WORKERS": 0, "unused_AI_and_incoming_mail_workers": "disabled", "elasticsearch_heap_mib": 128},
"acceptance": {"user_index_count_after_reload":6,"browser_ticket":"71007","ta_actions_verified":["create with existing Demo Customer","assign TA Agent","normal priority","submit internal note","submit public resolution","close"],"customer_view":"Public resolution and closed state visible; internal article 13 excluded","screenshots":["ta-browser-internal-note.png","ta-browser-closed-reply.png","customer-browser-closed-reply.png"],"scope":"Immediate functional acceptance; long-term scheduler stability not established by this short test"}
}
@@ -0,0 +1,8 @@
{
"started": "2026-11-21T01:00:35.810247+00:00",
"operation": "Reload derived User and Ticket search indexes with official model methods; retain database and volumes; reuse existing image and scheduler limits",
"exit_code": 0,
"stdout": "I, [2026-11-20T20:01:26.758659#7-3560] INFO -- : Using memcached as Rails cache store.\nI, [2026-11-20T20:01:26.764815#7-3560] INFO -- : Using the Redis back end for Zammad's web socket session store.\nW, [2026-11-20T20:01:32.307922#7-3560] WARN -- : Dalli 5.0 only supports the meta protocol. The :protocol option has been removed.\nI, [2026-11-20T20:01:40.866571#7-3560] INFO -- : ActionCable is configured to accept requests from (?-mix:https?:\\/\\/localhost:\\d+), https://support.myfileagent.tech.\nW, [2026-11-20T20:02:08.259307#7-3560] WARN -- : Generating image variants require the image_processing gem. Please add `gem \"image_processing\", \"~> 1.2\"` to your Gemfile or set `config.active_storage.variant_processor = :disabled`.\n\n 7/7\n 6/6User and Ticket search reload completed\n",
"stderr": " Container dos-support-zammad-scheduler-run-f28ffd16c5ed Creating \n Container dos-support-zammad-scheduler-run-f28ffd16c5ed Created \n",
"finished": "2026-11-21T01:02:51.591602+00:00"
}
+26
View File
@@ -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"
}
+9
View File
@@ -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}"