04 / APPLICATION DEPLOYMENT
A connected environment for files and workflows.
An application environment connecting restricted uploads, backend storage and workflow access.
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.
Two access paths, one connected environment
Scroll sideways to explore the diagram →
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.
THE IMPLEMENTATION
How the pieces came together.
The work behind the diagram.
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.
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.
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.
