tg
ES EN

Toni Gomila · Backend Developer · Barcelona Java backend developer who sees the whole system

Oracle, Spring, automation and AI, from the database to deployment.

I build and evolve Java applications for the public sector, and I make the design calls from start to finish. Outside work I run my own homelab, so I also know what sits underneath the code.

This site was built with AI agents.

Portrait of Toni Gomila

About me

I'm a Java backend developer based in Barcelona. I've spent over four years at Inetum, from intern to Senior Software Developer, evolving public-sector applications with Java, Spring and Oracle. Day to day I make most of the architecture decisions on the features I own.

My focus is getting systems to do on their own what used to be done by hand: tuning heavy queries, migrating complex PL/SQL logic to Java, and automating processes. I don't think a backend makes sense in isolation, so outside work I run a homelab, automate with n8n and build with AI agents. This site was made that way.

What I do

One thread across three areas: understanding the whole system, not just my layer.

Java backend

  • Heavy Oracle queries tuned. Typical examples: ~30 s down to ~5 s, or ~1 min down to ~10 s; smaller ones from ~10 s to ≤1 s.
  • Complex PL/SQL logic migrated to Java so it's easier to maintain.
  • Data from other public bodies integrated into our own applications.
  • REST and SOAP integrations; hands-on work with legacy systems.
  • Oracle Certified Associate, Java SE 8 Programmer (Mar 2026).

Systems and infrastructure

  • A Proxmox homelab: one VM for Docker, LXCs for networking and services, Nginx Proxy Manager and AdGuard Home.
  • Services published through Cloudflare Tunnel from behind CG-NAT, with no open ports.
  • Cloudflare Access with 2FA in front of what's exposed, fail2ban, a LAN-only Proxmox firewall, and sensitive services kept on the local network.
  • Native Proxmox backups with a defined policy (daily, keep last 3).
  • I host third-party services, such as openGym, a gym tracker with passkey login.

AI and automation

  • Automated processes at work: periodic extracts now produced by a job and sent to the user by Excel or email; weekly checks on manual changes; processes that used to need a manual step and no longer do.
  • My own n8n instance, with a daily Telegram digest (weather, news, tasks, markets and updates from my apps).
  • Homelab task management through Claude Code and a Vikunja MCP.
  • Development with AI agents. Claude Code 101 course completed (Anthropic, Apr 2026).
  • At work, early steps with AI: system prompts for agents, including an incident-handling agent built with Copilot.

Experience

Inetum · Public-sector projects. From intern to Senior, over four years on the job.

  1. Senior Software Developer

    Jan 2026 – present · hybrid
    • I run feature work end to end, mostly on my own, and decide the architecture: whether something should be a job, a manual service, or something else.
    • I integrate data from other public bodies into our applications.
    • I automate processes so users no longer have to act manually.
    • I resolve complex production incidents and help teammates, including onboarding new people to the project.
    • Java
    • Spring Framework
    • Oracle
    • SQL
    • PL/SQL
    • REST
    • SOAP
    • ExtJS
  2. Java Developer

    Jul 2023 – Jan 2026 · Barcelona, hybrid
    • High-cost Oracle queries cut to half their time or less, often to a quarter.
    • Jobs replacing recurring manual tasks: extracts, reports and checks.
    • Logic migrated from PL/SQL to Java.
    • Automatic email notification of errors.
    • Integration with REST and SOAP services.
    • Java 8
    • Spring Framework
    • Oracle
    • SQL
    • PL/SQL
    • REST
    • SOAP
    • ExtJS
    • JPA
    • SoapUI
  3. Software Developer Intern

    Oct 2022 – Jul 2023 · Barcelona
    • Support on enhancements and bug fixes in internal web applications.
    • First contact with the Java, Spring, ExtJS and Oracle stack, and with Scrum.
    • Training in Angular, Ionic and NestJS (training only, not my working stack).
    • Java
    • Spring Framework
    • Oracle
    • ExtJS
    • Scrum

Featured project

homepanel

A custom dashboard for my homelab.

  • Python
  • FastAPI
  • Jinja2
  • htmx
  • n8n
  • Proxmox
  • Vikunja
  • AdGuard
  • Nginx Proxy Manager
  • Cloudflare
github.com/gomila17/homepanel

Problem

I was using Homepage, but it can't combine data across apps (for example, a single timeline of outages, n8n run failures and Proxmox events) and doesn't integrate with n8n. I also wanted a start page with links and search.

Decisions

  1. FastAPI with server-rendered pages and htmx. No SPA, no JS build step: few dependencies and readable code.
  2. In its own LXC, not as a Docker stack. A dashboard that reports on the infrastructure shouldn't go down with the thing it watches.
  3. Auto-update: a systemd timer checks main every 5 minutes and, if there are changes, pulls and restarts. Outbound requests only: no inbound ports, no runner.
  4. Reachable from the local network only, since it gathers a lot of sensitive information.
  5. The update service runs as root because it has to restart the app. I accepted it and documented it, on a single-purpose LXC, rather than add sudoers rules.

Result

Running in production on my network, with tests that run without external services (each integration falls back to “not configured”) and CI on every PR. It replaced Homepage. Today it shows the state of each integration on one screen; combining data across them (the single timeline) is still a pending goal.

Rollback is simple: git + systemd, plus a Proxmox snapshot before big changes.

LessonI started without a detailed design and discovered requirements along the way, so some parts came out worse than I wanted. I'd plan up front today. This site starts from exactly that lesson.

Homelab

A home server on Proxmox, behind CG-NAT, and the decisions behind it.

A single physical server (no RAID, no hardware redundancy). Proxmox VE as hypervisor for VMs, LXC, snapshots and native backups, and room to experiment without breaking the base. A Debian VM running Docker for applications; LXCs for the tunnel, DNS and other network services.

Architecture of my homelab Left-to-right flow diagram. Internet reaches a Cloudflare Tunnel, which runs from an LXC inside a single Proxmox server, to Nginx Proxy Manager, which routes traffic to the Docker stacks of a VM (n8n, Vikunja and openGym), managed with Portainer. A second path, Tailscale, gives VPN access to the local network through a subnet-router LXC. Next to them is an LXC with this website, also reached through the tunnel, and two more on the local network only: AdGuard Home and the homepanel dashboard. Outside the server, a repurposed Android phone checks that the server responds. No inbound ports are open and the server is behind CG-NAT. Proxmox VE single physical server · no open ports · behind CG-NAT Internet visitors My devices away from home Cloudflare Tunnel LXC · outbound only behind CG-NAT Tailscale LXC · subnet router VPN, no ports AdGuard Home Home DNS · LXC homepanel LAN only · LXC Web CV LXC · Own website Docker VM Debian + Docker Reverse proxy Nginx Proxy Manager Stacks one compose per service n8n Vikunja openGym … and whatever comes next Portainer deploys and manages each stack A single physical node, no RAID or hardware redundancy. Android phone monitor independent separate hardware watches the watcher Architecture of my homelab Top-to-bottom flow diagram. Internet reaches a Cloudflare Tunnel, which runs from an LXC inside a single Proxmox server, to Nginx Proxy Manager, which routes traffic to the Docker stacks of a VM (n8n, Vikunja and openGym), managed with Portainer. A second path, Tailscale, gives VPN access to the local network through a subnet-router LXC. Inside the server there is also an LXC with this website, also reached through the tunnel, and two more on the local network only: AdGuard Home and the homepanel dashboard. Outside the server, a repurposed Android phone checks that the server responds. No inbound ports are open and the server is behind CG-NAT. Internet visitors and my devices away from home outbound tunnel VPN Proxmox VE a single server no open ports Cloudflare Tunnel LXC · outbound only Tailscale LXC · subnet router local network access Docker VM Debian + Docker Reverse proxy Nginx Proxy Manager Stacks one compose per service n8n Vikunja openGym … and whatever comes next Portainer manages each stack AdGuard Home Home DNS · LXC homepanel LAN only · LXC Web CV LXC · Own website Android phone independent monitor · watches the watcher
  • Web traffic (Cloudflare Tunnel)
  • VPN (Tailscale)
  • Monitoring from outside the server

Decisions

Each one as problem, decision and why.

  1. No inbound ports

    Problem
    I'm behind CG-NAT and can't open ports.
    Decision
    Cloudflare Tunnel from a dedicated LXC.
    Why
    The connection is outbound only, so no public IP is needed.
  2. VPN behind CG-NAT

    Problem
    Reaching home from outside.
    Decision
    Tailscale, with a subnet router in an LXC.
    Why
    WireGuard needs an inbound port, and Cloudflare WARP would fail during LaLiga's blocks on Cloudflare ranges.
    Accepted limit
    If the server goes down, the VPN goes with it.
  3. Watching the watcher

    Problem
    A monitor running on the server can't tell you the server is down.
    Decision
    Use a repurposed Android phone as an independent monitoring node (work in progress).
    Why
    It has to live on separate hardware; same reasoning as homepanel's dedicated LXC.
  4. Docker in a VM, not an LXC

    Problem
    Where to run Docker.
    Decision
    In a VM.
    Why
    To avoid nested Docker inside unprivileged containers, given my experience at the time (comfortable with Linux, still learning Docker and networking).
  5. Mail server ruled out

    Problem
    I wanted my own mail server.
    Decision
    Not to build one.
    Why
    Behind CG-NAT I can't receive mail, and a residential IP has no sending reputation. A VPS relay would be the only viable route.
  6. Simple backups

    Problem
    Protecting VMs and LXCs.
    Decision
    Native Proxmox backups, no Proxmox Backup Server.
    Why
    It would be overkill for a single node. Policy: daily, keep last 3.
  7. My own network for the homelab

    Problem
    The homelab and my machines shared the ISP's network, and the start was chaotic.
    Decision
    My own router for the homelab and my machines, separate from the ISP router.
    Why
    I control the network I work on, and it's kept apart from the home Wi-Fi.

Stack and certifications

Daily use

  • Java 8
  • Spring Framework
  • JPA
  • Oracle Database
  • SQL
  • PL/SQL
  • Query tuning
  • REST
  • SOAP
  • SoapUI
  • ExtJS
  • Maven
  • Git
  • IntelliJ IDEA
  • Scrum

I know

  • Docker
  • Portainer
  • Proxmox
  • Debian
  • Linux
  • Cloudflare Tunnel
  • Nginx Proxy Manager
  • AdGuard Home
  • Tailscale
  • n8n
  • Python
  • FastAPI
  • htmx
  • Claude Code
  • Agent-based development

Training only, not working knowledge: Angular, Ionic, NestJS.

I'm exploring

  • Lightweight AI models running locally
  • More self-hosted services
  • Media server
  • AI subagent orchestration (through this very site)
  • Oracle Certified Associate, Java SE 8 ProgrammerOracle · Mar 2026Verify
  • Claude Code 101 (course completed)Anthropic · Apr 2026Verify
  • PowerSkills — hands-on soft-skills programme, graded OutstandingThePower Business School · Nov 2023Verify

Education

CFGS Desarrollo de Aplicaciones Web (DAW)

Institut Joan d'Àustria, Barcelona · Sep 2021 – Jun 2023

Average grade: 8.92/10

Key modules: Java, JavaScript, Angular, relational databases, web deployment.

CFGM Sistemas Microinformáticos y Redes (SMR)

IES Biel Martí, Menorca · Sep 2019 – Dec 2020

Average grade: 7/10

Languages

Catalan: native

Spanish: native

English: C1