138 lines
4.9 KiB
TeX
138 lines
4.9 KiB
TeX
\chapter{Passwords and Hosts}
|
|
\ChapterLabel{PWDHST}
|
|
|
|
\section{Passwords}
|
|
\begin{longtable}{|>{\raggedright\arraybackslash}p{3.2cm}|>{\raggedright\arraybackslash}p{3.8cm}|>{\raggedright\arraybackslash}p{6.6cm}|}
|
|
\caption{Passwords and Credential Hints}
|
|
\label{tab:devops-passwords}\\
|
|
\hline
|
|
\textbf{Service} & \textbf{Username} & \textbf{Password Hint} \\
|
|
\hline
|
|
\endfirsthead
|
|
|
|
\hline
|
|
\textbf{Service} & \textbf{Username} & \textbf{Password Hint} \\
|
|
\hline
|
|
\endhead
|
|
|
|
DigitalOcean Droplet
|
|
& root
|
|
& SSH key or configured root authentication\\
|
|
\hline
|
|
|
|
Gitea
|
|
& kholmes
|
|
& Account password created during Gitea setup\\
|
|
\hline
|
|
|
|
Gitea
|
|
& samahk13
|
|
& Account password created during Gitea setup\\
|
|
\hline
|
|
|
|
Gitea Git SSH
|
|
& git
|
|
& SSH key passphrase, if configured\\
|
|
\hline
|
|
|
|
Docker
|
|
& root / sudo
|
|
& Uses Droplet administrative privileges
|
|
\\
|
|
\hline
|
|
|
|
Caddy
|
|
& N/A
|
|
& No login password configured\\
|
|
\hline
|
|
|
|
Jenkins
|
|
& samahk, kaylah7
|
|
& Administrator passwords set at Jenkins setup; stored hashed by Jenkins\\
|
|
\hline
|
|
|
|
Gitea (Jenkins integration)
|
|
& jenkins-ci
|
|
& Password set by the Gitea administrator; Jenkins uses a token stored only in credential \texttt{gitea-jenkins-ci}\\
|
|
\hline
|
|
|
|
Grafana
|
|
& admin
|
|
& Administrator password kept in \texttt{grafana.secrets.env} on the Droplet; the file is in \texttt{.gitignore} and not in Git\\
|
|
\hline
|
|
|
|
Discord webhook (Grafana contact point \texttt{team-alerts})
|
|
& N/A
|
|
& Webhook URL stored only in Grafana's database; re-created from the Discord channel's Integrations $\rightarrow$ Webhooks settings\\
|
|
\hline
|
|
|
|
Deployment account (Ansible)
|
|
& deploy
|
|
& No password; SSH key stored only in Jenkins credential \texttt{deploy-ssh}\\
|
|
\hline
|
|
Gitea container registry
|
|
& Push: Jenkins credential \texttt{gitea-registry-push}; pull: root on the Droplet
|
|
& Package-write and package-read tokens; never stored in Git, logs, or screenshots\\
|
|
\hline
|
|
Production approvers (Jenkins)
|
|
& samahk, kaylah7
|
|
& Personal Jenkins logins; passwords not recorded here. Only these users can approve production or a production rollback\\
|
|
\hline
|
|
Jenkins delivery agent
|
|
& delivery-agent
|
|
& Agent secret in a file on the Droplet beside \texttt{agent/compose.yaml}; not in Git\\
|
|
\end{longtable}
|
|
|
|
|
|
|
|
\section{Hosts}
|
|
\begin{longtable}{|>{\raggedright\arraybackslash}p{3.2cm}|>{\raggedright\arraybackslash}p{3.9cm}|>{\raggedright\arraybackslash}p{1.9cm}|>{\raggedright\arraybackslash}p{5.1cm}|}
|
|
\caption{Hosts and Services}
|
|
\label{tab:devops-hosts}\\
|
|
\hline
|
|
\textbf{Host / Service} & \textbf{Hostname / IP} & \textbf{Port} & \textbf{Purpose} \\
|
|
\hline
|
|
\endfirsthead
|
|
|
|
\hline
|
|
\textbf{Host / Service} & \textbf{Hostname / IP} & \textbf{Port} & \textbf{Purpose} \\
|
|
\hline
|
|
\endhead
|
|
|
|
DigitalOcean Droplet & 147.182.179.191 & 22 & Remote SSH administration \\
|
|
\hline
|
|
Gitea Web Interface & git.ssw590-08.me & 443 & HTTPS access through Caddy \\
|
|
\hline
|
|
HTTP Redirect & git.ssw590-08.me & 80 & HTTP to HTTPS redirection \\
|
|
\hline
|
|
Gitea Git SSH & git.ssw590-08.me & 222 & Git repository SSH access \\
|
|
\hline
|
|
Gitea Container & gitea & 3000 & Internal Docker network web service \\
|
|
\hline
|
|
Caddy Container & caddy & 80, 443 & Reverse proxy and TLS certificate management for Gitea and Jenkins \\
|
|
\hline
|
|
Jenkins Web Interface & ci.ssw590-08.me & 443 & HTTPS access to Jenkins through Caddy \\
|
|
\hline
|
|
Jenkins Container & jenkins & 8080 & Internal Docker network web service; not published on the host \\
|
|
\hline
|
|
Jenkins Agent Port & jenkins & 50000 & Not published on the host and not used; the delivery agent connects over WebSocket through port 8080 on \texttt{gitea-net} \\
|
|
\hline
|
|
Grafana Web Interface & metrics.ssw590-08.me & 443 & HTTPS access to Grafana through Caddy \\
|
|
\hline
|
|
Grafana Container & grafana & 3000 & Internal Docker network web service (\texttt{gitea-net} and \texttt{monitoring}); not published on the host; state in volume \texttt{monitoring\_grafana\_data} \\
|
|
\hline
|
|
Prometheus Container & prometheus & 9090 & Private, \texttt{monitoring} network only; metrics storage and query API; state in volume \texttt{monitoring\_prometheus\_data} \\
|
|
\hline
|
|
Node Exporter Container & node-exporter & 9100 & Private, \texttt{monitoring} network only; whole-Droplet CPU, memory, and root-disk metrics \\
|
|
\hline
|
|
Blackbox Exporter Container & blackbox-exporter & 9115 & Private, \texttt{monitoring} network only; HTTPS probes of Gitea and Jenkins \\
|
|
\hline
|
|
Staging Application & staging.ssw590-08.me & 443 & HTTPS access to the staging pricing service through Caddy \\
|
|
\hline
|
|
Production Application & app.ssw590-08.me & 443 & HTTPS access to the production-like pricing service through Caddy \\
|
|
\hline
|
|
Pricing Containers & pricing-staging, pricing-production & 8000 & Private, \texttt{gitea-net} only; Gunicorn; not published on the host; Compose projects under \texttt{/opt/startup/pricing-\{staging,production\}}; no data volume \\
|
|
\hline
|
|
Jenkins Delivery Agent & jenkins-agent & None & Container on \texttt{gitea-net}; runs Docker builds and Ansible; mounts the host Docker socket; state in volume \texttt{agent\_home} \\
|
|
\hline
|
|
\end{longtable} |