This Dockerized version of Mirth Connect is configured to run behind nginx on the Aptible platform.
Build the image and run locally with the following commands:
docker run -i -t -d -p 3000:3000 -p 9661:9661 -e MIRTH_ADMIN_PW=password IMAGE_NAME
docker run -i -t -p 443:443 -p 80:80 -e UPSTREAM_SERVERS=$(boot2docker ip 2>/dev/null):3000 quay.io/aptible/nginx
You can launch Mirth Connect Administrator by visiting boot2docker ip
. The default username is admin and the password is set via the MIRTH_ADMIN_PW environment variable above. Port 9661 is exposed using the above commands.
You should see the test channel deployed and running on the dashboard view.
To test that this is working, you'll need a tool like HL7 Inspector
Download some sample HL7 messages
Import the ADT_A01.xsd sample HL7 message in Inspector and open the Message Sender pane. Open Send Options and change the Host/Port to DOCKER_IP:9661
Highlight the message and click Send. You should see an Acknowledge message in the pane below and the message statistics should increase in Mirth Connect Administrator.