Memory
Top containers by memory
↓ – ↑ –Chief-Daniel Osei
I build and run the infrastructure behind websites serving thousands.
First Class CS graduate from Newcastle and founder of Chief Studios, a web studio. I run five client sites with 1,000+ weekly users, handling the hosting, CI/CD and monitoring myself. Based in Duisburg, looking for roles in Germany and the UK from spring 2027.
Toolbox
- Docker
- Linux
- GitHub Actions
- Traefik
- Grafana
- Prometheus
Load average
1m – 5m – 15m –Uptime
–
Containers
– running
Things I've built and shipped
Projects
2026
Tower
Deployment platform, proxy and authenticator. A layer between GitHub CI and Coolify that turns Coolify into a backend, with my own dashboard on top showing only what I need for my workflow.
Websites I Run for Clients
The websites I build and then keep running for clients through Chief Studios. Every site gets the same setup underneath: an image built in CI, staging and production, deploys through Tower, health checks and monitoring.
2025 - now
This Portfolio Website
The site you are on, run as a real deployment: Docker image built in CI, deployed by tag to my own VPS, with live server stats from Beszel and cookieless analytics.
2026
keys: Secrets for Client Sites
A command line tool for client secrets. One JSON file per repo says which keys it needs and where, Bitwarden stores the values, and one command copies a ready-to-paste block for Coolify or syncs GitHub secrets.
AI Hunter
AI Hunter was built at one of my first hackathons in Sheffield as part of a team of four. The idea I proposed was a game where an AI-controlled hunter adapts to the player’s movements and strategies while trying to catch them on a simple 2D map.
Project Overview
The core mechanic is an AI that learns from the player’s movement patterns and adjusts its chasing behavior over time. The game world is represented as a grid, with black blocks as walls, green as the player, light red as the hunter, and dark red as doors. We initially planned extra mechanics such as items (for example, flashbangs) to help the player escape, but within the hackathon timeframe we focused on getting the adaptive chasing behavior working.
Key Features
- Adaptive AI Behavior: The hunter responds to how the player moves, rather than following a fixed path.
- Real-Time Pursuit: Player and hunter move in real time, with the AI updating its behavior as it gathers more information.
Links
- Github Repo: https://github.com/RhysH0w/hackathon-9
Secure Blog Application
A Flask-based blog application built to practice secure web development, implementing encryption at rest, strong authentication, role-based access control, attack detection, and detailed security logging.
Project Overview
The app lets users register, log in with multi-factor authentication, and create, edit, and delete their own blog posts. Posts are stored encrypted in the database, and different user roles (end user, security admin, database admin) have different levels of access to content and admin tooling. Google reCAPTCHA, rate limiting, and custom input validation help protect against bots, brute-force attempts, and common web attacks such as SQL injection and XSS.
Security Features
- Authentication & MFA: Login uses email and password plus a TOTP-based one-time code generated with pyotp, with QR codes to set up the second factor.
- Password Hardening: Passwords are hashed with Argon2, following modern recommendations for secure password storage.
- Role-Based Access Control (RBAC): Roles such as end_user, sec_admin, and db_admin control access to admin views, security dashboards, and data operations.
- Encryption at Rest: Sensitive blog fields (like titles and bodies) are encrypted using keys derived from user-specific data so that content is protected even if the database is leaked.
- Bot & Abuse Protection: Login routes are protected with Google reCAPTCHA, rate limits, and login attempt tracking to slow down automated attacks and brute force.
- Attack Detection & Input Validation: Inputs are scanned for SQL injection, XSS, and path traversal patterns, with strict validation for emails, phone numbers, and names.
- Security Headers & HTTPS: Flask-Talisman enforces HTTPS and sets security headers such as HSTS and Content Security Policy to reduce XSS and downgrade risks.
Technical Implementation
- Stack & Architecture: Built with Flask using blueprints in an MVC-style structure, SQLAlchemy for ORM, and Alembic/Flask-Migrate for database migrations on top of SQLite.
- Models & OOP Design: User, Post, and Log models encapsulate authentication, encryption, logging, and relationships, with methods for verifying passwords/MFA, encrypting/decrypting data, and tracking login history.
- Forms & Validation: Flask-WTF and WTForms define registration, login, and post forms, including the reCAPTCHA field on login and server-side validation rules for all fields.
- Admin & Monitoring: Flask-Admin provides restricted views for managing users and posts, while security events (registrations, logins, attacks, blocked access) are written to a dedicated log file for auditing.
- Front End: Jinja templates use Bootstrap and small amounts of JavaScript/jQuery for layout, feedback, and form behaviour.
What I Learned
This project provided hands-on experience with implementing multiple layers of security in a real web app rather than treating each feature in isolation. It strengthened skills in Flask, authentication flows, encryption, RBAC design, and logging, and showed how important it is to think about both user experience (MFA, error messages, reCAPTCHA) and attacker behaviour (brute force, injection, scripting) when building production-like systems.
Websites I Run for Clients
Through Chief Studios I build websites for small businesses, and then I keep running them. The sites look nothing alike, but the setup underneath is the same for every one.
The shared setup
- Built in CI: GitHub Actions builds a Docker image and pushes it to GHCR, tagged with the commit so any earlier version can be redeployed.
- Staging and production:
devdeploys to a password protected staging site,mainto production. Staging sendsnoindexand never reports to the client’s analytics. - Deploys through Tower: no repo holds a Coolify token. CI asks Tower to deploy, and the job fails unless the deploy actually succeeds.
- Smoke tests and health checks: every pull request builds and starts the container and checks the important routes. A new version only takes traffic once its health check passes.
- Monitoring and analytics: server and container stats in Beszel, cookieless self-hosted Umami.
- Secrets: stored in Bitwarden and set up per site with my
keystool.
Zur Laterne
A restaurant in Duisburg, in German and English. The owners edit the menu, opening hours and news themselves in a branded Sanity Studio. For the festive season there is an order page: orders go out by email from the restaurant’s own mailbox, the review step is protected by Cloudflare Turnstile, and IP addresses and order fingerprints are deleted on a schedule.
Every push runs browser tests in WebKit and Chromium, after the video gallery turned into empty boxes on iPhones. How I tracked that down.
Ibeji Photography
A multilingual portfolio for a photographer, with a blog and gallery the client edits in Sanity. The contact form has reCAPTCHA, a honeypot and rate limiting. I started with requirements meetings and Figma wireframes and iterated on them with the client before writing any code.

The sites
- Zur Laterne: Restaurant in Duisburg: menu and opening hours from a CMS, and an order page for the festive menu
- Ibeji Photography: Multilingual photography portfolio with a blog and gallery the client edits
- FRINIrents
- Obaa Visuals
DevOps Web Application
A three-tier web application built to demonstrate the core principles of DevOps culture — combining automation, scalability, collaboration, and continuous delivery throughout its architecture and workflows.
The system functions as an internal chat platform paired with a dashboard displaying live GitHub project metrics to help development teams coordinate effectively. It was designed using containerized microservices and follows modern DevOps best practices from build to deployment.
System Overview
The application uses a three-tier architecture:
- Frontend: React SPA
- Backend: Flask API
- Database: PostgreSQL
All tiers run in separate Docker containers, connected via Docker Compose.
A Traefik reverse proxy sits at the edge of the system, routing traffic to the correct service internally:
/ → frontend(port 3000)/api/... → backend(port 5000)
This design provides scalability and isolation while ensuring consistent deployments across environments.
Architecture Diagram:

Database Schema:

Tools and Technology Rationale
Frontend: React SPA
React was chosen for its reusable component structure, efficient state management, and virtual DOM rendering — ideal for chat messages and live dashboards. It also simplifies building single-page applications with smooth client-side routing.
Backend: Flask
Flask powers the RESTful API, handling authentication, chat functionality, and metrics retrieval. Its lightweight, modular design (using the create_app() pattern and blueprints) promotes maintainability and aligns well with testing and observability goals.
Database: PostgreSQL
PostgreSQL stores structured data such as users, messages, and chat logs, using foreign keys and JSON fields for flexible relationships. It integrates seamlessly with SQLAlchemy and runs as an official Docker image.
Reverse Proxy: Traefik
Traefik routes and monitors HTTP traffic while automatically discovering backend services based on Docker labels. Compared to Nginx, it requires no manual reconfiguration during restarts, making it ideal for agile, containerized workflows.
CI/CD and DevOps Practices
Continuous Integration
GitHub Actions runs automated pipelines on every push or pull request:
- ESLint for frontend code quality
- Pylint and Pytest for backend testing
- Smoke tests that spin up the full stack, verify container connectivity, and call endpoints using
curl
Deployment & Infrastructure as Code
Local deployment is defined through a single docker-compose.yml that brings up all services and networking with one command (docker compose up --build).
For cloud deployment, the backend image was pushed to Docker Hub and run via Azure Container Instances (ACI).
Future goals include implementing full Infrastructure-as-Code using Bicep or Terraform for repeatable cloud provisioning.
CI/CD Overview:

Maintainability & Scalability
- Maintainability: Flask’s modular blueprints and feature-branch workflow ensure separation of responsibilities and easier updates.
- Scalability: Horizontal scaling supported through Docker Compose (
--scale backend=n), with Traefik handling load balancing automatically. - Cloud Readiness: Vertical scaling handled by adjusting ACI CPU and memory allocations, while PostgreSQL can migrate to a managed service for reliability.
Scaling Diagram:

Observability
System observability was achieved through structured logging in Flask using Python’s logging module. Each request is logged with timestamp, method, path, status, and IP, forming a complete audit trail.
Logs can be viewed both locally (docker logs) and in Azure deployments using container insights.
Example Logs:

Security
Security features implemented include:
- Hashed Passwords: Using bcrypt for password storage
- Environment Secrets: Managed via local
.envexcluded from version control - Bot Protection: Login form integrates Google reCAPTCHA
- Future Enhancements: Role-based access control (RBAC) and rate limiting for brute-force protection
Evaluation & Reflection
This project successfully integrated DevOps fundamentals — containerization, CI/CD, testing, and observability — into a cohesive system.
It strengthened my understanding of how to connect microservices, orchestrate pipelines, and debug containerized environments.
Key wins:
- Seamless container orchestration with Docker and Traefik
- Fully automated CI workflows
- Scalable architecture ready for cloud migration
Lessons learned:
- Early missteps with frontend framework selection (initially using Tkinter) delayed progress, but switching to React paid off enormously.
- Understanding Docker’s benefits firsthand made the deployment workflow clearer.
Future improvements:
- Expand test coverage (frontend + integration tests)
- Add RBAC and rate limiting
- Replace manual Azure CLI configuration with Terraform IaC templates
Visuals
CI Workflow Passing Tests

Local Deployment Verification

Links
- GitHub Repository under university organization
Gaze-Guided Remote Camera (DurHackX 2025)
At DurHackX 2025, our team built a remote camera system that mimics the experience of looking through a window by moving a physical camera based on the viewer’s head position.
Project Overview
The system uses a camera mounted on a servo-driven Raspberry Pi as a remote “window” into another space. On the client side, a laptop tracks the user’s face with MediaPipe and sends head-position data to the Raspberry Pi, which turns the camera in the opposite direction. As you move your head, the camera adjusts, making it feel like you are looking around the remote environment in real time. To improve accessibility, the system also uses the Gemini API to generate textual descriptions of what the camera sees and reads them aloud via text-to-speech.
Key Features
- Gaze-Based Camera Control: Face tracking on the client controls the camera angle, creating a natural “look-around” effect.
- Remote Exploration: Users can explore a physical environment remotely through live video and audio descriptions.
- Accessibility Focus: Designed with physically impaired users in mind, offering both visual and spoken descriptions of the scene.
- Hackathon-Ready Implementation: Built end-to-end in a weekend, from hardware setup to API design and front-end interface.
Technical Implementation
- Frontend: React-based interface running on a laptop, integrating MediaPipe for real-time face tracking and sending head-position data to the backend.
- Backend: Flask API that receives face tracking data, calculates the appropriate servo angle, and forwards commands to the Raspberry Pi.
- Hardware: Raspberry Pi controlling a servo-mounted camera, translating API commands into smooth physical camera movement.
- AI Integration: Gemini API used to generate descriptions of the camera feed, which are then converted to speech to narrate the scene to the user.
Challenges & Solutions
One of the main challenges was converting raw face tracking data into stable camera movement. Early versions were jittery and oversensitive to small head movements. To address this, the team refined the mapping and smoothing logic, adjusting the calculations and adding constraints so the servo responded more predictably and comfortably. There were also hardware timing and latency issues between the laptop, API, and Raspberry Pi, which were mitigated by tuning update intervals and simplifying the control loop.
Impact
The prototype demonstrates how computer vision, lightweight hardware, and AI can combine to give users with limited mobility a more intuitive way to explore remote spaces. It also highlights practical experience in bridging frontend, backend, and embedded systems under time constraints.
keys
Switching between projects with different key requirements, I always forgot what was needed, and sometimes why. Now I rely on a single JSON file per repo, secrets.json, which tells me which keys the project needs and where each one goes: GitHub, Coolify, build time or runtime. It only holds names, never values, so it’s safe to commit.
The keys CLI reads that file and connects to my Bitwarden account. Bitwarden is an open-source password manager: everything in the vault is encrypted on my device before it’s stored, and it has a command line tool (bw) that scripts can use. That’s where the actual secret values are saved for later, one folder per client.
From there I can:
- Copy a block of
KEY=valuelines for a Coolify project or app and paste it straight in. The clipboard clears itself after 30 seconds. - Sync to GitHub using the
ghCLI, with a dry run first that shows what would change. - Check a repo: what the code reads, what
secrets.jsonsays, what the workflows expect and what’s in Bitwarden.

Making Bitwarden fast enough
During testing I realised it took insanely long to work with Bitwarden. Every bw call costs about a second, and the first version made one call per secret, plus a vault sync on every run. Checking one client could take longer than doing it by hand.
So I changed how it uses the CLI. It now reads a whole client folder in a single call and takes every value from that one listing, and it skips the vault sync if one already ran in the last five minutes.
Rules it follows
- It never prints a secret value, anywhere.
- It refuses to copy a block while a public value is still a placeholder like
TODO. - It never deletes anything on GitHub.
- The tests use a fake
bw, so they never touch a real vault.
Next
I plan to connect it to Tower, my Coolify proxy, so keys can update variables in Coolify directly after authenticating, instead of me pasting blocks.
First Portfolio Website
This was the first portfolio site built from scratch with just HTML, CSS, and JavaScript, and it was the first place where others could see my work in a structured way.
Project Overview
The site is a single-page portfolio with sections for projects, about, and contact. Navigation is handled client-side: clicking different sections updates the visible content without reloading the page, creating a simple SPA-like experience using only vanilla JavaScript. This project represents an important milestone in turning basic web skills into something complete and publicly usable.
Key Features
- Custom Navigation: A JavaScript-driven navigation system that shows and hides sections dynamically without page reloads.
- Interactive Project Section: Expandable project entries so visitors can reveal more details on demand.
- Responsive Layout: CSS media queries and flexible layouts to make the site usable on both desktop and mobile.
- Smooth Visuals: Hover effects, transitions, shadows, and transforms to make interactions feel more polished.
Technical Implementation
- HTML & Structure: Semantic sections for content, with clear separation of navigation, projects, and about information.
- CSS & Layout: Flexbox-based layout, use of viewport units for scalable typography, and iterative styling to get spacing and alignment right.
- JavaScript Logic: DOM manipulation and event listeners to toggle sections, handle project expansion, and update styles based on user interaction.
Challenges & What I Learned
Styling was the hardest part: there was a lot of trial and error, repeatedly adding and removing CSS until elements looked and behaved as intended. That process taught careful use of flexbox, responsive units, and how small changes in CSS can affect the entire layout. This project now serves as a snapshot of where I started and how my approach to structure, design, and code quality has evolved.
Visuals

Portfolio Website
A fully responsive portfolio website built with modern web technologies, designed to showcase my projects and technical skills in an elegant and user-friendly way.
Why Astro?
I chose Astro because it is lightweight and produces highly optimized static HTML with minimal JavaScript. This makes it ideal for running on resource-constrained devices like my Raspberry Pi, ensuring fast load times and low resource use. Astro’s island architecture allows me to sprinkle interactivity only where needed without bloating the site.
Cloudflare Tunnel Setup
To expose my website securely while hosting it on a Raspberry Pi behind restrictive accommodation WiFi (without port forwarding), I used a Cloudflare Tunnel. This provides a robust and secure public URL for my portfolio without the hassle of complex network configuration.
Portfolio Research Insights
When designing the site, I researched what visitors typically want from a portfolio page. The main takeaways were: visitors expect quick access to the most impressive and relevant projects upfront, concise project descriptions showcasing technical contributions, clear technology stacks, real-world outcomes, and easy navigation to additional work for breadth. This guided the site’s content hierarchy and project presentation.
Key Features
- Responsive Design: Works seamlessly across all devices and screen sizes
- Performance Optimized: Built with Astro for lightning-fast page loads
- Content Collections: Uses Astro’s content collections for easy project management
- Modal System: Interactive modal popups for project details
- Smooth Animations: Subtle transitions and hover effects throughout
Technical Implementation
The site leverages Astro’s static site generation combined with Tailwind CSS for styling.
Architecture
- Static site generation for optimal performance
- Component-based architecture for maintainability
- Content collections for type-safe content management
Styling Approach
Before settling on the final design, I created multiple wireframes and prototypes in Figma to explore layout, color schemes, and user experience options. This iterative process informed the clean visual structure and consistent branding seen on the site.
/* Custom color system */ —color-Primary1: #5caac3; —color-Primary2: #06164f; —color-Background1: #effafc; —color-Background2: #daebfc;
Performance
- Minimal JavaScript footprint
- Optimized image loading
- CSS-only animations where possible
Challenges & Solutions
One interesting challenge was implementing the modal system without using dynamic routes. The solution involved:
- Pre-loading all project content using
getCollection() - Rendering modal content client-side using Astro’s
<Content />component - Managing modal state with vanilla JavaScript
Future Enhancements
- Add blog section with content collections
- Implement dark mode toggle
- Add contact/feedback form with email integration
- Integrate analytics
Links
- GitHub: GitHub: Source Code
React Fundamentals: Counter & Expense Tracker
These two projects were built back-to-back to learn React from the ground up: starting with a simple counter to understand state and events, then moving to an expense tracker to practice passing data between components and managing more complex UI state.
Project Overview
The Counter app was the first React project and focused on core ideas like useState, event handling, and rendering state changes in real time. The Expense Tracker followed as a second project, where the goal was to move beyond a single component and use props and context to connect multiple parts of the application (inputs, filters, and summary).
Key Features
-
Counter App
- Increment and decrement controls, including larger step changes via buttons.
- Custom input to adjust the counter directly.
- Simple layout designed to keep attention on state updates and interaction logic.
-
Expense Tracker
- Add new expense records with relevant fields.
- Filter expenses by name, category, and value to narrow down records.
- Toggle between “create” and “filter” modes for a cleaner interface.
- Display total number of records and aggregate expense value.
Technical Implementation
- React & State Management: Used
useStateto manage the counter value and expense data, updating the UI instantly when values change. - Components & Data Flow: Split the Expense Tracker into components for inputs, filters, and summaries, passing data via props and, where needed, context to avoid excessive prop drilling.
- HTML/CSS Foundations: Built the UI with hand-written HTML and CSS, including responsive layout work and layout tweaks as more elements were added.
- Planning & Structure: For the Expense Tracker, sketched out component structure and data flow before writing code to avoid confusion once the app grew beyond a single component.
Challenges & What I Learned
The main difficulty in the Expense Tracker was passing data cleanly between components and deciding where state should live so each part of the UI had the data it needed without duplication. Both projects also highlighted how quickly layout and styling become more complex as features are added, which pushed a more deliberate approach to planning structure and CSS instead of adjusting everything ad hoc.
Future Improvements
Potential next steps include adding edit and delete capabilities to the Expense Tracker, improving the styling of both apps, and persisting data (for example, with local or session storage) so values survive page reloads. These changes would make the projects feel closer to production tools while continuing to build on the same React fundamentals.
Visuals
![]()


Links
- Expense Tracker Repository: https://github.com/CD-Chief/ExpenseProj
- Counter Repository: https://github.com/CD-Chief/counter-proj
This Portfolio Website
The site you are on is both my portfolio and a small production deployment that I run myself. The pages are Astro and Tailwind; the part worth reading about is everything around them.
- Build and deploy: a Docker image built in GitHub Actions, pushed to GHCR with SHA tags, and deployed by tag to my own VPS through Coolify.
- Monitoring: the live stats panel at the top of the homepage reads from my Beszel hub through a read-only server-side proxy, so the browser never touches the monitoring system.
- Analytics: cookieless, self-hosted Umami, left out of development builds.
- Content: typed Astro content collections, with technology tags validated against one list so a typo fails the build.
Tower
Deployment platform, proxy and authenticator.
I built a proxy between GitHub CI and Coolify, the platform I self-host and run all my sites on. It basically turns Coolify into a backend, while I built a custom frontend that shows me only what I need to know for my workflow. So I don’t spend time clicking through menus in Coolify that aren’t relevant to me.
This is what actually turned Coolify into a true Vercel clone for me. I can now see deployments happen in GitHub CI, as if I had just built my own app (I did).
And adding a new repo is as easy as picking it in the bindings form, which fills in the site URL and branch for me, and pasting the workflow snippet Tower gives me. That’s one uses: line in the repo’s workflow, with no secrets to set up.
An in-depth post on building Tower is coming soon.
How deploys work
- A GitHub Actions job proves which repo and branch it is with a short lived OIDC token. No repo holds a Coolify token any more.
- Tower looks up which Coolify app that repo and branch are bound to, starts the deploy and waits for it.
- The job fails unless the deploy actually succeeds, and every deploy shows up on GitHub as a Deployment.
All of my sites deploy this way now, and Coolify’s API only accepts calls from Tower’s server.
The dashboard
- Every project with staging and production side by side, live container status and recent deploys.
- A queue of running deploys, and one click redeploy, restart, start and stop. Stopping production asks you to type the app name.
noindexand basic auth for a staging site in one click, per app or in bulk.- An audit log of every action.
Under the hood
Next.js and TypeScript, with SQLite on a persistent volume for bindings, deploys and the audit log. A background reconciler follows running deploys. Every change runs type checks, over 100 unit tests against a fake Coolify, and a Playwright smoke test against the built server.
Traffic Light
When several coding sessions run at once, it is easy to miss the one that has been waiting on you for twenty minutes. This widget sits in the corner of the screen with one light per session.
| Light | Meaning |
|---|---|
| Green | Working |
| Amber | Needs me: a permission prompt or a question |
| Grey | Done, my move |
| Red | The turn failed |
How it works
The sessions send hook events to a small server on 127.0.0.1 inside the widget. A state machine in Rust turns those events into a colour per session, Tauri handles the window and tray, and the widget itself is plain HTML, CSS and JavaScript.
Everything stays on the machine. Hook messages can contain prompts and file paths, so only a handful of fields are read and the rest is thrown away. Nothing is logged or saved.
It also has a waiting timer, click to jump to a session’s window, a strip showing plan limits, and six designs.
Notes from running my own infrastructure
Blog
CI/CD ·
Getting Autoplay Videos to Work on Apple Devices
Video tiles that disappeared on Apple devices, a rabbit hole of Safari quirks, and how I ended up running WebKit tests in CI from a Windows laptop.
Tools ·
Handling Secrets Is Really Annoying, So I Built a Tool for It
Five sites, two environments each, build-time and runtime keys. I spent a couple of hours on a CLI so I never copy an API key by hand again.
Self-hosting ·
How This Site Is Built, Shipped and Monitored
The infrastructure behind this portfolio: a Docker image built in CI, deployed by tag to my own VPS, with live server stats from Beszel and cookieless analytics.