Skip to content

Commit

Permalink
Merge pull request #267 from SerEgoroff/develop
Browse files Browse the repository at this point in the history
MailHog as a developer mail server.
  • Loading branch information
peterliapin authored Oct 14, 2024
2 parents 6f0b33d + e9b36b3 commit 5f12c9e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 8 additions & 1 deletion docker-compose/docker-compose.develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ services:
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped


mailhog:
container_name: mailhog
image: mailhog/mailhog
ports:
- "1025:1025" # SMTP
- "8025:8025" # Web

volumes:
postgres-data:
elastic-data:
6 changes: 3 additions & 3 deletions src/OnlineSales/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"IndexPrefix": "onlinesales"
},
"Email": {
"Server": "$EMAIL__SERVER",
"Server": "localhost",
"UserName": "$EMAIL__USERNAME",
"Password": "$EMAIL__PASSWORD",
"Port": "25",
"UseSsl": "true"
"Port": "1025",
"UseSsl": "false"
},
"TaskRunner": {
"CronSchedule": "0/30 * * * * ?"
Expand Down

0 comments on commit 5f12c9e

Please sign in to comment.