diff --git a/docker-compose.yml b/docker-compose.yml index 3b9b99a..2b6069f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -43,6 +43,15 @@ services: networks: - wave + mailhog: + image: mailhog/mailhog:latest + restart: unless-stopped + ports: + - 8080:8025 + profiles: ["smtp-debug"] + networks: + - wave + volumes: wave-files: wave-config: diff --git a/launchSettings.json b/launchSettings.json index ec1d0c2..cc19705 100644 --- a/launchSettings.json +++ b/launchSettings.json @@ -4,7 +4,19 @@ "commandName": "DockerCompose", "commandVersion": "1.0", "serviceActions": { - "web": "StartDebugging" + "web": "StartDebugging", + "database": "StartWithoutDebugging", + "mailhog": "DoNotStart", + "redis": "StartWithoutDebugging" + } + }, + "SMTP Debugging": { + "commandName": "DockerCompose", + "commandVersion": "1.0", + "composeProfile": { + "includes": [ + "smtp-debug" + ] } } }