From e2b6a35b26a76b14d08e4c67f1b37cabec7f139f Mon Sep 17 00:00:00 2001 From: git-hermes Date: Thu, 3 Sep 2026 10:37:49 +0200 Subject: [PATCH] fix(n8n-sandbox): remove unused port selector --- __tests__/apps.test.ts | 4 +++- apps/n8n-sandbox/config.json | 3 +-- apps/n8n-sandbox/metadata/description.md | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/__tests__/apps.test.ts b/__tests__/apps.test.ts index 827e9d6..d6b14fc 100644 --- a/__tests__/apps.test.ts +++ b/__tests__/apps.test.ts @@ -74,7 +74,8 @@ describe("n8n-sandbox installation secrets", () => { expect(apiKey?.type).toBe('password') expect(apiKey?.required).toBe(true) expect(apiKey?.min).toBeGreaterThanOrEqual(48) - expect(config.tipi_version).toBeGreaterThanOrEqual(2) + expect(config.port).toBeUndefined() + expect(config.tipi_version).toBeGreaterThanOrEqual(5) }) }) @@ -84,6 +85,7 @@ describe("n8n-sandbox post-install documentation", () => { expect(description).toContain('services:\n n8n-2:\n environment:') expect(description).toContain('N8N_SANDBOX_SERVICE_URL=http://sandbox-api:8080') + expect(description).toContain("Runtipi ne demande aucun port pour cette app") expect(description).not.toContain('sandbox-api:') expect(description).toContain('/opt/runtipi/app-data/migrated/searxng/data/settings.yml') diff --git a/apps/n8n-sandbox/config.json b/apps/n8n-sandbox/config.json index 93facc9..92ce6e6 100644 --- a/apps/n8n-sandbox/config.json +++ b/apps/n8n-sandbox/config.json @@ -5,8 +5,7 @@ "exposable": false, "no_gui": true, "dynamic_config": true, - "port": 8080, - "tipi_version": 4, + "tipi_version": 5, "min_tipi_version": "4.7.0", "version": "1.3.0", "author": "n8n", diff --git a/apps/n8n-sandbox/metadata/description.md b/apps/n8n-sandbox/metadata/description.md index bc8bca6..df60c12 100644 --- a/apps/n8n-sandbox/metadata/description.md +++ b/apps/n8n-sandbox/metadata/description.md @@ -35,7 +35,7 @@ services: Remplacer entièrement `` par la vraie clé, sans conserver les caractères `<` et `>`. Ne jamais publier cette valeur. -Le port de `N8N_SANDBOX_SERVICE_URL` reste `8080` : il s'agit du port interne du service Docker, pas du port éventuellement choisi dans l'interface Runtipi. +Le port de `N8N_SANDBOX_SERVICE_URL` reste `8080` : il s'agit du port interne du service Docker. Runtipi ne demande aucun port pour cette app, car elle n'en publie aucun sur l'hôte. Enregistrer la configuration, puis redémarrer l'application **n8n**. Pour vérifier la communication depuis son conteneur :