Describe the problem/error/question
I am using docker to run caddy and n8n as described here: Digital Ocean | n8n Docs
I would like to access files inside the n8n volume, but I can’t find it and I am not sure where it’s mounted.
What is the error message (if any)?
There is no error, I just can’t find a file I saved in a workflow.
Please share your workflow
I would like to find the file I saved, but I can’t, although I searched in the folder that theoretically mount the n8n volume.
Here the docker file:
version: "3.7"
services:
caddy:
image: caddy:latest
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- caddy_data:/data
- ${DATA_FOLDER}/caddy_config:/config
- ${DATA_FOLDER}/caddy_config/Caddyfile:/etc/caddy/Caddyfile
n8n:
image: docker.n8n.io/n8nio/n8n
restart: always
ports:
- 5678:5678
environment:
- N8N_HOST=${SUBDOMAIN}.${DOMAIN_NAME}
- N8N_PORT=5678
- N8N_PROTOCOL=https
- NODE_ENV=production
- WEBHOOK_URL=https://${SUBDOMAIN}.${DOMAIN_NAME}/
- GENERIC_TIMEZONE=${GENERIC_TIMEZONE}
volumes:
- n8n_data:/home/node/.n8n
- ${DATA_FOLDER}/local_files:/files
volumes:
caddy_data:
external: true
n8n_data:
external: true
The variables are declared in the .env file, as described in the guide.
Information on your n8n setup
- n8n version: 1.39.1
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu