diff --git a/apps/canvas/front/src/components/node-app.tsx b/apps/canvas/front/src/components/node-app.tsx
index 74f0e75..9bc5f92 100644
--- a/apps/canvas/front/src/components/node-app.tsx
+++ b/apps/canvas/front/src/components/node-app.tsx
@@ -84,7 +84,12 @@
         id: uuidv4(),
         name: values.name,
         value: values.value,
-      })
+      }),
+      envVars: (data.envVars || []).concat({
+        id: uuidv4(),
+        source: null,
+        name: `DODO_PORT_${values.name.toUpperCase()}`,
+      }),
     });
     portForm.reset();
   }, [data, portForm]);
