Skip to content

Commit

Permalink
Change port for smtp4dev from 5000 -> 5001 (#187)
Browse files Browse the repository at this point in the history
* Change ports for smtp4dev from 5000 -> 5001
  • Loading branch information
rmlearney-digicatapult authored Oct 2, 2024
1 parent d0f79d0 commit 093290d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/smtp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/smtpEmail.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 093290d

Please sign in to comment.