You could add --add-host n8n.mydomain.my:host-gateway to the service file to preconfigure the containers hosts file.
Edit the systemd service:
runagent -m mattermost1 systemctl --user edit --full mattermost
Add
--add-host n8n.mydomain.my:host-gateway \
so it looks like
...
ExecStartPre=/usr/bin/podman pod create --infra-conmon-pidfile %t/mattermost.pid \
--pod-id-file %t/mattermost.pod-id \
--name mattermost \
--publish 127.0.0.1:${TCP_PORT}:8065 \
"$POD_EXTRA_ARGS" \
--add-host n8n.mydomain.my:host-gateway \
--replace
...
Restart mattermost:
runagent -m mattermost1 systemctl --user restart mattermost
This way the pasta network is used.
This change is persistent until the next update or restore as it’s not included in the backup.
BTW, if you have some time, please help testing n8n, see NS8-n8n: Nodemation App - #13 by mrmarkuz