Create a network so that there is communication between services.
$ docker network create mail-delivery-network
Running local mail delivery service.
$ docker-compose up -d
Stop and remove mail delivery service.
$ docker-compose down
| .gitignore
| docker-compose.yml
| Dockerfile
| HELP.md
| mvnw
| mvnw.cmd
| pom.xml
| README.md
|
+---.mvn
| \---wrapper
| maven-wrapper.jar
| maven-wrapper.properties
| MavenWrapperDownloader.java
|
+---src
| +---main
| | +---java
| | | \---io
| | | \---jorgel
| | | \---sendemail
| | | | SendEmailApplication.java
| | | | ServletInitializer.java
| | | |
| | | +---config
| | | | KafkaConsumerConfig.java
| | | | TemplateConfig.java
| | | |
| | | +---models
| | | | Email.java
| | | |
| | | \---services
| | | | ConsumerService.java
| | | | EmailSenderService.java
| | | |
| | | \---impl
| | | EmailSenderServiceImpl.java
| | |
| | \---resources
| | | application.yml
| | |
| | +---static
| | \---templates
| | confirmation.html
| |
| \---test
| \---java
| \---io
| \---jorgel
| \---sendemail
| SendEmailApplicationTests.java
|