← All selected work

04 / APPLICATION DEPLOYMENT

A connected environment for files and workflows.

An application environment connecting restricted uploads, backend storage and workflow access.

Docker ComposeTraefikSFTP

THE BRIEF

Files available where the workflows need them

The client needed a self-hosted environment with restricted SFTP uploads, a Supabase backend and n8n access to files. Deploying containers was only part of the brief: the directories and permissions had to work across the services.

I configured isolated SFTP accounts, deployed the application services and mounted the required host directories into n8n. Two simple workflows demonstrated access to uploaded files and Supabase storage files.

SOLUTION MAP

Two access paths, one connected environment

Scroll sideways to explore the diagram →

Two access paths, one connected environmentBrowser access reaches n8n and Supabase through Traefik. SFTP users upload into a restricted host folder. Separate directory mounts let n8n read the uploaded files and the host-backed Supabase storage files.LINUX SERVERDOCKER COMPOSE SERVICESWeb browserService access over HTTPSSFTP usersRestricted uploadsTraefikHTTPS / TLS routingSFTP serviceChroot isolationn8nPersistent workflow dataSupabaseDashboard and APIWorkflow 2Read storage filesWorkflow 1Read uploaded filesPostgreSQLPersistent dataStorageSupabase filesHost storage filesSupabase storage volumeUpload folderShared host directory
Configuration and service relationshipsSimplified from the delivered project. Client details omitted.

Browser access reaches n8n and Supabase through Traefik. SFTP users upload into a restricted host folder. Separate directory mounts let n8n read the uploaded files and the host-backed Supabase storage files.

01

Separate access from shared storage

Configured SFTP accounts with chroot isolation and shared-directory permissions. Uploads were stored in the required host directory, while each account’s access remained restricted.

02

Deploy the application environment

Deployed Supabase and n8n using Docker Compose, with persistent storage and Traefik routing over HTTPS. The backend, workflow service and storage were configured as parts of the same environment.

03

Resolve the file access boundary

Mounted the SFTP upload and Supabase storage directories into n8n and resolved file access permissions. Created two basic workflows to demonstrate reading files from those directories, then provided deployment and service management instructions.

DELIVERY & HANDOVER

A working setup.
A clear explanation.

Deployment documentation, service management instructions and file access tests accompanied the configured environment. The client could follow how uploads and storage became available to the workflows.

PROJECT COVERAGE

  • Chroot isolation and shared-directory permissions
  • Persistent service storage
  • HTTPS routing through Traefik
  • Two basic file-reading workflows

YOUR NEXT PROJECT

Have a similar challenge?

Tell me what you need. We’ll agree on a practical scope.

Discuss your project ↗
EXPLORE ANOTHER PROJECTWebsite & email migration