See Ash Code logo See Ash Code

I mapped the dependencies before deciding which machine should own them

Ashlynn Antrobus
• • 3 min read

My home infrastructure, ProsePal development, general projects and agent experiments had accumulated on one NUC. Some lived in containers. Others were host services, cron jobs or processes launched from a shell.

I wanted three eventual homes: durable household infrastructure, a portable ProsePal environment and a development machine. Before choosing which box should run what, I needed to know what each workload actually depended on.

A dragon draws a map connecting three server houses to a database, a key, and a cloud.

The October inventory mapped those dependencies into four ownership categories: home, prosepal, development and shared. The fourth category mattered because moving an application doesn’t automatically move its shared services.

A container name wasn’t a complete migration unit

The audit recorded sixteen running containers, including six for n8n and eight for Supabase. Those numbers described processes, but didn’t answer whether a workload could run independently elsewhere.

The Flask bridge in the n8n stack was a useful example. It wasn’t just a Python HTTP service. Its recorded dependencies included the stack’s PostgreSQL database and credentials for Google Cloud Text-to-Speech.

The dependency map looked roughly like this; the branches serve different application operations:

Caddy on the host -> loopback :5050 -> Flask container :5000
                                       ├─ n8n-postgres :5432
                                       └─ Cloud Text-to-Speech credentials
n8n workflows -----------------------> Flask operations

Copying the Flask image would leave several pieces behind.

I wrote down what would have to travel with it

For that service, the migration questions became concrete:

DependencyWhat the move needs to account for
DataThe PostgreSQL data used by the bridge and its workflows
SecretsCloud credentials and required environment configuration
IngressCaddy routes and the host-to-container port mapping
RuntimeCompose configuration, Docker networking and service names
ConsumersThe n8n workflows and other callers using the endpoint
RecoveryA way to restore the data, credentials and configuration together

I’d still have to test that I could restore the database, credentials and configuration together.

Ownership also changed how I read the databases. ProsePal’s active database infrastructure belonged to its Supabase stack; the legacy product database and role on host PostgreSQL had been removed. Host PostgreSQL still served other applications. Treating every PostgreSQL process as one shared database would have hidden that separation.

The map was completed before the physical split

I had an inventory and a dependency-and-ownership document. I hadn’t moved these workloads onto three machines. Shared Git hosting and package caches were still possible future services.

I’d previously worked out why n8n needed six services. The October audit added the host dependencies I’d have to move with them.

AA

Written by Ashlynn Antrobus

Software developer, author, and builder. Sharing technical lessons learned from building tools like Ebook2Text, IndexedDict, and rag-mcp, and navigating life as a programmer with dyslexia.