6 Full Example
This example shows the information needed to run N8n.
| # | Name | Standard container | What standard | Version |
|---|---|---|---|---|
| A | Postgres | yes | Postgres | 18 |
| B | N8n | no | - | - |
Standard container - no additional configuration needed.
Container image: repo
Repo URL + tag: docker.io/n8nio/n8n:latest
User and group:
- uid: 1000
- gid: 1000
Entrypoint:
"tini",
"--",
"/docker-entrypoint.sh"
Working directory: /home/node
Image env vars
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=22.19.0",
"YARN_VERSION=1.22.22",
"NODE_ICU_DATA=/usr/local/lib/node_modules/full-icu",
"NODE_ENV=production",
"N8N_RELEASE_TYPE=stable",
"SHELL=/bin/sh",
Runtime env vars
"N8N_LISTEN_ADDRESS=0.0.0.0",
"N8N_PORT=8080",
"WEBHOOK_URL=https://{{.BublAppUrl}}",
"N8N_PATH=/",
"N8N_HOST={{.BublAppUrl}}",
"N8N_PROTOCOL=https",
"N8N_EDITOR_BASE_URL=https://{{.BublAppUrl}}",
"N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true",
"N8N_DIAGNOSTICS_ENABLED=false",
"DB_TYPE=postgresdb",
"DB_POSTGRESDB_HOST=127.0.0.1",
"DB_POSTGRESDB_PORT=5432",
"DB_POSTGRESDB_DATABASE=n8n",
"DB_POSTGRESDB_USER=n8n",
"DB_POSTGRESDB_PASSWORD=n8n"
/home/node/.n8n
[
{
"destination": "/proc",
"type": "proc",
"source": "proc",
"options": ["nosuid", "noexec", "nodev"]
},
{
"destination": "/dev",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "strictatime", "mode=755", "size=65536k"]
},
{
"destination": "/sys",
"type": "sysfs",
"source": "sysfs",
"options": ["nosuid", "noexec", "nodev", "ro"]
},
{
"destination": "/dev/pts",
"type": "devpts",
"source": "devpts",
"options": ["nosuid", "noexec", "newinstance", "ptmxmode=0666", "mode=0620", "gid=5"]
},
{
"destination": "/dev/shm",
"type": "tmpfs",
"source": "shm",
"options": ["nosuid", "noexec", "nodev", "mode=1777", "size=65536k"]
},
{
"destination": "/tmp",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "nodev", "mode=1777", "size=100m"]
},
{
"destination": "/var/run",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "nodev", "mode=755", "size=100m"]
},
{
"destination": "/home/node/.cache",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "nodev", "mode=755", "size=100m", "uid=1000", "gid=1000"]
},
{
"destination": "/home/node/.npm",
"type": "tmpfs",
"source": "tmpfs",
"options": ["nosuid", "nodev", "mode=755", "size=50m", "uid=1000", "gid=1000"]
}
]
- Type: http
- URL:
http://127.0.0.1:8080/healthz - Ready: http status 200