web stats
Automate build Docker container for Mirth Connect + MySQL - Mirth Community

Go Back   Mirth Community > Mirth Connect > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-10-2016, 03:49 AM
bankkin bankkin is offline
What's HL7?
 
Join Date: Dec 2015
Location: Bangkok, Thailand
Posts: 5
bankkin is on a distinguished road
Default Automate build Docker container for Mirth Connect + MySQL

docker pull bankkin/mirthconnect

Automate build Docker container for Mirth Connect + MySQL

Build the image and run with the following command:

container (run by order): 1. mysql 2. mirthconnect 3. phpmyadmin

docker run \ -d \ -v /home/$USER/data/mysql:/var/lib/mysql \ -p 3306:3306 \ -e MYSQL_DATABASE=mirthdb \ -e MYSQL_ROOT_PASSWORD=mirth \ --name mysql \ mysql:5.7 \ --character-set-server=utf8mb4 \ --collation-server=utf8mb4_unicode_ci

docker run \ -d \ -p 8083:8083 \ -p 8443:8443 \ --name mirthconnect \ --link mysql \ YOUR_IMAGE_NAME

docker run \ -d \ -p 8080:80 \ --name phpmyadmin \ --link mysql:db \ phpmyadmin/phpmyadmin

You can launch Mirth Connect Administrator by visiting DOCKER_IP:8083

The default username and password are admin/admin

Enjoy!

Special Thanks to https://github.com/cancan101 for inspiration!
Reply With Quote
Reply

Tags
docker, mysql, nginx

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation