Hi All,
i’m trying to install n8n in airgap system
i tried to run this command
docker run -d
–name n8n
-p 5678:5678
-v n8n-data:/home/node/.n8n
-e N8N_BASIC_AUTH_ACTIVE=true
-e N8N_BASIC_AUTH_USER=admin
-e N8N_BASIC_AUTH_PASSWORD=password
-e N8N_DISABLE_TELEMETRY=true
n8nio/n8n:
worked without any erros but still can’t login to the UI
have anyone tried to install in airgap system and succeded ?
However with a private network, port forwarding will not work, since the host does not have a route to the private network (likely the issue you are facing).
You can however either
use the IP address of the container to access the container directly (you’d need to set -e N8N_SECURE_COOKIE=false), or
setup a reverse proxy container that has access to this private network, as well as a public network, so that you can access n8n via this. I usually use Traefik or Caddy for this.
BTW,
You can delete these.
n8n removed basic auth support over a year ago with the release of 1.0.0
This has never been an env variable in n8n.
Can you please tell us where you found this documented, so that we can get it fixed