keycload フローでいくつかの統合テストを作成しようとしています。登録やパスワード忘れメールの認証に、greenmail を利用したいと考えています。
greenmail の私の docker 構成 (docker compose 内):
greenmail:
image: greenmail/standalone:1.5.7
environment:
- GREENMAIL_OPTS=-Dgreenmail.setup.test.all -Dgreenmail.hostname=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose
ports:
- "3025:3025"
- "3143:3143"
「テスト接続」をクリックしても機能せず、ログに次の
エラーメッセージが表示されます(画像を開いたり表示したりできない場合):
Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: localhost, 3025; timeout 1000;
nester exception is: Connection refused
誰かが私が欠けているものを知っていますか?