Those are passed using env variables.
Docker inspect results (just put XXXX on anything that looked risky to disclose):
"Config": {
"Hostname": "533137278eb9",
"Domainname": "",
"User": "node",
"AttachStdin": false,
"AttachStdout": false,
"AttachStderr": false,
"ExposedPorts": {
"5678/tcp": {}
},
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"DB_POSTGRESDB_USER=n8n",
"DB_POSTGRESDB_PASSWORD=XXXXX",
"QUEUE_BULL_REDIS_HOST=ecXXXXX.amazonaws.com",
"N8N_ENCRYPTION_KEY=XXXXX",
"DB_TYPE=postgresdb",
"DB_POSTGRESDB_HOST=ecXXXXX.amazonaws.com",
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
"NODE_VERSION=18.18.2",
"YARN_VERSION=1.22.19",
"NODE_ICU_DATA=/usr/local/lib/node_modules/full-icu",
"N8N_VERSION=1.11.2",
"NODE_ENV=production",
"N8N_RELEASE_TYPE=stable"
],
"Cmd": [
"worker"
],
"Image": "docker.n8n.io/n8nio/n8n",
"Volumes": null,
"WorkingDir": "/home/node",
"Entrypoint": [
"tini",
"--",
"/docker-entrypoint.sh"
],
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "4f2b7ac6d1b37ef1c215003ec6c5edff2df51b8672676659b9e798bc7bcac015",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {
"5678/tcp": [
{
"HostIp": "0.0.0.0",
"HostPort": "5679"
},
{
"HostIp": "::",
"HostPort": "5679"
}
]
},
"SandboxKey": "/var/run/docker/netns/4f2b7ac6d1b3",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "4ae2a9bb03699172b8e3f06e155e850dcc3212e26fd95126b0740d84725119ae",
"Gateway": "172.17.0.1",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"MacAddress": "02:42:ac:11:00:02",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "c29e39813cbc606c76e823735834fcde7de36d1309b3c37166a94b4d0655936f",
"EndpointID": "4ae2a9bb03699172b8e3f06e155e850dcc3212e26fd95126b0740d84725119ae",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02",
"DriverOpts": null
}
}
}
}