diff --git a/DEPLOY.md b/DEPLOY.md index 3683255..4927cd4 100644 --- a/DEPLOY.md +++ b/DEPLOY.md @@ -17,12 +17,11 @@ Everything else (About text, experience, projects, skills...) is in `src/data/*. ``` docker compose up -d --build # or: npm run docker ``` -The container is non-root, read-only, capability-less and resource-capped, and bound -to 127.0.0.1 (put a TLS proxy in front, or set `TLS_CERT`/`TLS_KEY` / `FORCE_HTTPS`). -Values are passed at run time, so the same image works for any identity. Keep the -committed compose file generic and put real values in a gitignored -`docker-compose.override.yml`, or edit the environment block directly. -To ship a CV, set `VITE_CV_URL` and uncomment the `volumes:` line (the CV is never baked in). +The container is non-root, read-only, capability-less and resource-capped. It publishes +port 3001 only; Nginx Proxy Manager sits in front for TLS and the public side. +The compose defaults are the public details from the CV. Put the one secret, `GITHUB_TOKEN`, +in a gitignored root `.env` file (compose reads it automatically), never in the compose file. +The CV is mounted from `public/CV` at run time and is never baked into the image. ## Without Docker ``` diff --git a/docker-compose.yml b/docker-compose.yml index df32465..466b818 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,9 +4,9 @@ # copied into the image (.dockerignore), so nothing personal lives in it. # Running without Docker (npm run dev / npm start) reads secrets/.env instead. # -# Edit the placeholders here, or keep this file generic and put your real -# values in a gitignored docker-compose.override.yml (compose merges it in -# automatically) or in a root .env file (compose substitutes ${VARS} from it). +# The defaults below are the public details from the CV. The one secret, +# GITHUB_TOKEN, is never written here: put it in a gitignored root .env file +# (compose substitutes ${VARS} from it), or in docker-compose.override.yml. services: portfolio: build: . @@ -14,21 +14,21 @@ services: container_name: portfolio restart: unless-stopped ports: - # Localhost only; put a TLS reverse proxy in front for public access. - - "${BIND:-127.0.0.1}:${HOST_PORT:-3001}:3001" + # Nginx Proxy Manager handles TLS and the public side, so this is a plain mapping. + - "3001:3001" environment: - VITE_NAME: "${VITE_NAME:-Your Name}" - VITE_EMAIL: "${VITE_EMAIL:-}" # empty hides the email button - VITE_GITHUB_USER: "${VITE_GITHUB_USER:-your-github-username}" - VITE_LINKEDIN: "${VITE_LINKEDIN:-}" # empty hides the LinkedIn button - VITE_UNIVERSITY: "${VITE_UNIVERSITY:-Your University}" - VITE_CV_URL: "${VITE_CV_URL:-}" # e.g. /CV/your-cv.pdf; empty hides CV buttons - GITHUB_TOKEN: "${GITHUB_TOKEN:-}" # read-only PAT; empty disables the contribution graph + VITE_NAME: "${VITE_NAME:-Mudabbir}" + VITE_EMAIL: "${VITE_EMAIL:-mudabbira.uk@gmail.com}" # empty hides the email button + VITE_GITHUB_USER: "${VITE_GITHUB_USER:-mudabbir-ahmad}" + VITE_LINKEDIN: "${VITE_LINKEDIN:-https://www.linkedin.com/in/mudabbir-ahmad-4245a0281}" # empty hides the LinkedIn button + VITE_UNIVERSITY: "${VITE_UNIVERSITY:-Kingston University}" + VITE_CV_URL: "${VITE_CV_URL:-/CV/my_cv.pdf}" # e.g. /CV/your-cv.pdf; empty hides CV buttons + GITHUB_TOKEN: "${GITHUB_TOKEN:-}" # read-only PAT, set in the gitignored root .env; empty disables the contribution graph ALLOWED_ORIGIN: "${ALLOWED_ORIGIN:-http://localhost:3001}" FORCE_HTTPS: "${FORCE_HTTPS:-false}" # Only if you set VITE_CV_URL: the CV is never baked into the image. - # volumes: - # - ./public/CV:/app/dist/CV:ro + volumes: + - ./public/CV:/app/dist/CV:ro read_only: true tmpfs: [/tmp] cap_drop: [ALL] diff --git a/public/images/projects/portfolio-detail.png b/public/images/projects/portfolio-detail.png index 6e9b4e1..0dba52d 100644 Binary files a/public/images/projects/portfolio-detail.png and b/public/images/projects/portfolio-detail.png differ diff --git a/public/images/projects/portfolio-home.png b/public/images/projects/portfolio-home.png index 9976bbc..4d50f72 100644 Binary files a/public/images/projects/portfolio-home.png and b/public/images/projects/portfolio-home.png differ diff --git a/public/images/projects/portfolio-homelab.png b/public/images/projects/portfolio-homelab.png index c8e0197..a67f8d2 100644 Binary files a/public/images/projects/portfolio-homelab.png and b/public/images/projects/portfolio-homelab.png differ diff --git a/public/images/projects/portfolio-projects.png b/public/images/projects/portfolio-projects.png index 02bb426..f8e8479 100644 Binary files a/public/images/projects/portfolio-projects.png and b/public/images/projects/portfolio-projects.png differ diff --git a/src/components/Contact.jsx b/src/components/Contact.jsx index b01c368..89405b1 100644 --- a/src/components/Contact.jsx +++ b/src/components/Contact.jsx @@ -49,11 +49,14 @@ function PrivacyNote() {

{profile.name}{profile.email && ` (${profile.email})`} is the data controller for this - site. No cookies, analytics, or third-party trackers are used, and nothing you do here - is logged or stored on a server. Your light/dark theme choice is saved in your - browser's local storage only and is never transmitted anywhere. The Contributions - graph above is fetched by this site's own server, not your browser, so GitHub never - sees you as a visitor. If you email me, I'll only use your details to reply. + site. It sits behind Cloudflare, which handles traffic to it and applies bot, AI-crawler + and scraping protection. In doing so Cloudflare may process your IP address and + set its own security cookies; I don't receive or manage any of that, only the + aggregate statistics Cloudflare provides. I run no analytics, advertising or + tracking of my own, and nothing you do here is stored by the site itself. Your light/dark + theme choice is saved in your browser's local storage only and is never transmitted. + The Contributions graph is fetched by this site's own server, not your browser, so GitHub + never sees you as a visitor. If you email me, I'll only use your details to reply. {profile.email && ` Under UK GDPR you can request access to or deletion of any data held about you by emailing ${profile.email}.`}

diff --git a/src/index.css b/src/index.css index 1c049b9..3d2cb91 100644 --- a/src/index.css +++ b/src/index.css @@ -928,7 +928,6 @@ main { color: var(--ink-soft); } -.timeline-points li::before, .project-features li::before { content: ""; position: absolute; @@ -2281,3 +2280,15 @@ html.has-custom-cursor * { text-transform: uppercase; vertical-align: 2px; } + +/* experience uses real bullets; project lists keep the short dash */ +.timeline-points li::before { + content: ""; + position: absolute; + left: 4px; + top: 0.72em; + width: 5px; + height: 5px; + border-radius: 50%; + background: var(--accent); +}