Skip to content
Snippets Groups Projects
Commit 2040dc68 authored by michael.simon's avatar michael.simon
Browse files

Add MAIL_HOST and MAIL_PORT Env variables

parent 53ffec01
No related branches found
Tags 2.7.7
No related merge requests found
Pipeline #158022 passed
......@@ -20,7 +20,7 @@ data-source add --jndi-name=$JNDI_NAME --name=$DS_NAME --connection-url=jdbc:pos
/subsystem=datasources/data-source=ds\/bwidmDS:write-attribute(name=statistics-enabled, value=true)
/subsystem=mail/mail-session=regapp-mail:add(jndi-name=java:/mail/bwIdmMail)
/socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=regapp-smtp-binding:add(host=localhost,port=25)
/socket-binding-group=standard-sockets/remote-destination-outbound-socket-binding=regapp-smtp-binding:add(host=\${env.MAIL_HOST:localhost},port=\${env.MAIL_PORT:25})
/subsystem=mail/mail-session=regapp-mail/server=smtp:add(outbound-socket-binding-ref=regapp-smtp-binding)
jms-queue add --queue-address=bwIdmMailQueue --entries=["queue/bwIdmMailQueue","java:jboss/exported/jms/queue/bwIdmMailQueue"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment