fix: Add default webhook domain for n8n

This commit is contained in:
Andras Bacsai 2022-04-04 19:18:06 +02:00
parent 9790d2b613
commit fcf206a081

View File

@ -24,7 +24,9 @@ export const post: RequestHandler = async (event) => {
const config = {
image: `${image}:${version}`,
volume: `${id}-n8n:/root/.n8n`,
environmentVariables: {}
environmentVariables: {
WEBHOOK_URL: `${service.fqdn}`
}
};
if (serviceSecret.length > 0) {
serviceSecret.forEach((secret) => {