From 093290d255424543c2059c7e5a1702df279ebbba Mon Sep 17 00:00:00 2001 From: "Robert M. Learney" <39194639+rmlearney-digicatapult@users.noreply.github.com> Date: Wed, 2 Oct 2024 19:47:44 +0100 Subject: [PATCH] Change port for smtp4dev from 5000 -> 5001 (#187) * Change ports for smtp4dev from 5000 -> 5001 --- README.md | 2 +- docker-compose.yml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- test/helpers/smtp.ts | 2 +- test/integration/smtpEmail.test.ts | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 59f6cc8f..9a313fcb 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ npm run dev ``` > :bulb: When service is running, it can be accessed on `http://localhost:3000/`. Api Docs are available on `http://localhost:3000/api-docs` and swagger `http://localhost:3000/swagger/`. -> If you have opted to use `SMTP_EMAIL` for `EMAIL_TRANSPORT` env you'll find the server on `http://localhost:5000/`. +> If you have opted to use `SMTP_EMAIL` for `EMAIL_TRANSPORT` env you'll find the server on `http://localhost:5001/`. ## Environment variables diff --git a/docker-compose.yml b/docker-compose.yml index ee748559..be8af3fd 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -145,7 +145,7 @@ services: image: rnwood/smtp4dev container_name: smtp4dev ports: - - '5000:80' # Port for accessing smtp4dev's web interface + - '5001:80' # Port for accessing smtp4dev's web interface - '2525:25' # Port for SMTP connections restart: always diff --git a/package-lock.json b/package-lock.json index 29033a26..22036520 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "veritable-ui", - "version": "0.9.5", + "version": "0.9.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "veritable-ui", - "version": "0.9.5", + "version": "0.9.6", "license": "Apache-2.0", "dependencies": { "@digicatapult/tsoa-oauth-express": "^0.1.46", diff --git a/package.json b/package.json index 6d4e0348..010dbe05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "veritable-ui", - "version": "0.9.5", + "version": "0.9.6", "description": "UI for Veritable", "main": "src/index.ts", "type": "module", diff --git a/test/helpers/smtp.ts b/test/helpers/smtp.ts index 6d13c848..2cc1226d 100644 --- a/test/helpers/smtp.ts +++ b/test/helpers/smtp.ts @@ -17,7 +17,7 @@ export async function clearSmtp4devMessages() { return new Promise((resolve, reject) => { const options = { hostname: 'localhost', - port: 5000, + port: 5001, path: '/api/messages/*', // Delete all messages method: 'DELETE', headers: { diff --git a/test/integration/smtpEmail.test.ts b/test/integration/smtpEmail.test.ts index a2e1fdd0..a5f15504 100644 --- a/test/integration/smtpEmail.test.ts +++ b/test/integration/smtpEmail.test.ts @@ -57,7 +57,7 @@ describe('SMTP email', () => { it('should send an email via SMTP', async () => { const options = { hostname: 'localhost', - port: 5000, + port: 5001, path: '/api/messages', method: 'GET', headers: {