Files
vpn-dns-gateway/manual/latex/devopsHostsPasswords.tex
vsun1 b68425ba13
Automated Manual Build / manual (push) Successful in 29s
Repair LaTeX build and document verification (refs #12)
2026-10-07 20:16:01 -04:00

90 lines
5.0 KiB
TeX

\chapter{Hosts and Passwords}
\ChapterLabel{HostsPasswords}
\sloppy
\index{hosts table}
\index{passwords table}
These tables record the startup's current hosts and where each credential is
kept. The Passwords table holds \emph{hints only}: it never contains a
password, token, recovery code, or private key. Distinct services use distinct
credentials, which are stored outside this manual and outside every
repository. Both tables were created on 28 September 2026 for Assignment 4
(\ChapterRef{GiteaFoundation}). The local runner host and its identity hint
were added on October 7, 2026 for \ChapterRef{AutomatedManualBuild}.
\section{Hosts}
\small
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
\caption{Hosts\label{Table:Hosts}}\\
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, colors.yebilly.me)}\\ \midrule
\endfirsthead
\toprule \textbf{Field} & \textbf{Droplet The-Ocean (git.yebilly.me, colors.yebilly.me)}\\ \midrule
\endhead
\bottomrule \endlastfoot
Role & Gitea work hub (Gitea 1.27.3 behind Caddy 2.11.4 TLS proxy); since
29 Sep 2026 also the Assignment 3 Color Buttons site\\
Environment & Course production (team use)\\
Provider & DigitalOcean, NYC1; Ubuntu 24.04 LTS; 1 vCPU, 512\,MB RAM, 10\,GB disk\\
Public address / DNS & IPv4 \texttt{147.182.178.136}; \texttt{A} records
\texttt{git.yebilly.me} and \texttt{colors.yebilly.me}; public IPv6 assigned
but not published in DNS\\
Private services & Gitea \texttt{:3000} and \texttt{color-buttons-app}
\texttt{:3000} (96\,MiB memory cap) on Docker network \texttt{gitea\_web}, no
host ports; SQLite file in volume \texttt{gitea\_gitea-data}\\
Exposed ports & 443/TCP and 80/TCP to all; 22/TCP to approved team addresses only
(Cloud Firewall \texttt{gitea-fw})\\
Owner & BY (server administration); VS (review)\\
HTTPS URLs & \url{https://git.yebilly.me}, \url{https://colors.yebilly.me}\\
Backup status & No backup job; container-replacement persistence verified only
(\ChapterRef{GiteaFoundation})\\
Monitoring status & No alerting configured; checked manually with
\texttt{docker compose ps}, \texttt{docker stats}, and logs\\
\end{tabularx}
\normalsize
\small
\begin{tabularx}{\linewidth}{@{}L{3.3cm}Y@{}}
\caption{Local build runner host, added October 7, 2026\label{Table:HostsRunner}}\\
\toprule \textbf{Field} & \textbf{Vincent's laptop (\texttt{ssw590-vince-local})}\\ \midrule
\endfirsthead
\toprule \textbf{Field} & \textbf{Vincent's laptop (\texttt{ssw590-vince-local})}\\ \midrule
\endhead
\bottomrule \endlastfoot
Role & Repository-scoped Gitea Actions runner; manual compilation in temporary Docker job containers\\
Environment & Windows laptop, Docker Desktop Linux engine; runner 2.3.0; capacity one job\\
Provider / owner & Local device; VS maintains Docker Desktop, runner availability, and job image\\
Network path & Outbound HTTPS to \texttt{git.yebilly.me:443} and GitHub Actions sources; Caddy forwards to private Gitea \texttt{:3000}; no public runner or Docker daemon port\\
Execution label & \texttt{latex-local}; local image \texttt{ssw590-manual-ci:20261007}\\
Persistent state & Runner registration in named Docker volume \texttt{ssw590-local-runner-data}; compiler image retained in Docker Desktop\\
Availability & Start Docker Desktop and the versioned runner helper after reboot; laptop must remain awake for jobs\\
Monitoring / backup & Runner logs and Gitea Actions checked manually; no automatic backup of runner registration configured\\
\end{tabularx}
\normalsize
\clearpage
\section{Passwords (Hints Only)}
\small
\begin{tabularx}{\linewidth}{@{}L{3.2cm}L{1.3cm}YL{2.5cm}@{}}
\caption{Passwords (hints only)\label{Table:Passwords}}\\
\toprule \textbf{Service / account} & \textbf{Owner} & \textbf{Where it is kept (hint)} & \textbf{Privilege}\\ \midrule
\endfirsthead
\toprule \textbf{Service / account} & \textbf{Owner} & \textbf{Where it is kept (hint)} & \textbf{Privilege}\\ \midrule
\endhead
\bottomrule \endlastfoot
Gitea local runner identity & VS & Docker volume \texttt{ssw590-local-runner-data}, file \texttt{/data/.runner}; generated identity, no values in Git; registration token supplied privately from repository settings & Repository runner; Docker control on VS laptop\\
Gitea \texttt{bill} & BY & BY's password manager & Site administrator\\
Gitea \texttt{vsun1} & VS & VS's password manager & Repository administrator\\
DigitalOcean team & BY, VS & Each member's own login, in their password manager & Team member\\
Namecheap (\texttt{yebilly.me}) & BY & BY's password manager & Domain owner\\
Droplet \texttt{root} SSH & BY & Key-based only; private key \texttt{digiOcean} on BY's laptop; no password login & Root\\
Let's Encrypt ACME account & --- & Account key generated by Caddy in volume \texttt{caddy-data}; no password & Certificate issuance\\
Gitea database (SQLite) & --- & No credential; file access limited to droplet \texttt{root} & n/a\\
\end{tabularx}
\normalsize
Multi-factor authentication and rotation status have not yet been recorded for
these accounts. Some credentials also have local copies on members' devices;
moving them into the password managers is an open follow-up.
\fussy