Mirth: Difference between revisions
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
mkdir -p ~/Documents/mirth-playground/ | mkdir -p ~/Documents/mirth-playground/ | ||
cd ~/Documents/mirth-playground/ | cd ~/Documents/mirth-playground/ | ||
docker-compose -f stack.yml up -d | |||
docker-compose -f stack.yml logs -f | |||
docker-compose -f stack.yml down | |||
# onboarding | |||
open http://172.17.0.3:8080 &>/dev/null & | |||
xdg-open http://172.17.0.3:8080 &>/dev/null & | |||
# dashboard | |||
open https://172.17.0.3:8443 &>/dev/null & | |||
xdg-open https://172.17.0.3:8443 &>/dev/null & | |||
# page: https://172.17.0.3:8443 | |||
# user: admin | |||
# pass: admin | |||
docker exec -it mirth_apps bash | |||
docker exec -it mirth_apps ls -lah | |||
docker exec -it mirth_apps ps -aux | |||
docker exec -it mirth_apps ls -lah .. | |||
docker exec -it mirth_apps java -version | |||
docker exec -it mirth_psql bash | |||
docker exec -it mirth_psql psql -Umirthdb | |||
SELECT * FROM person_password; | |||
SELECT * FROM configuration; | |||
SELECT * FROM schema_info; | |||
SELECT * FROM person; | |||
SELECT * FROM event; | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 14: | Line 45: | ||
mc: | mc: | ||
image: nextgenhealthcare/connect | image: nextgenhealthcare/connect | ||
container_name: mirth_apps | |||
platform: linux/amd64 | platform: linux/amd64 | ||
environment: | environment: | ||
Line 33: | Line 65: | ||
db: | db: | ||
image: postgres | image: postgres | ||
container_name: mirth_psql | |||
environment: | environment: | ||
- POSTGRES_USER=mirthdb | - POSTGRES_USER=mirthdb | ||
Line 41: | Line 74: | ||
YML | YML | ||
</syntaxhighlight> | </syntaxhighlight> | ||
|} | |||
==Playground== | |||
{| | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
sudo apt install icedtea-netx | |||
apt search icedtea-netx | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
sudo apt install libcanberra-gtk-module | |||
apt search libcanberra-gtk-module | |||
</syntaxhighlight> | |||
| valign="top" | | |||
<syntaxhighlight lang="bash"> | |||
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 | |||
javaws ~/Downloads/webstart.jnlp | |||
</syntaxhighlight> | |||
|- | |||
| colspan="3" | | |||
---- | |||
|- | |||
| valign="top" | | |||
| valign="top" | | |||
| valign="top" | | |||
|} | |} | ||
Line 59: | Line 124: | ||
| valign="top" | | | valign="top" | | ||
* [https://github.com/hiddehs/nextgen-connect-chart Mirth » Hiddehs » Helm Chart] | |||
* [https://github.com/nextgenhealthcare/fhir-example-channels Mirth » Fhir » Example] | * [https://github.com/nextgenhealthcare/fhir-example-channels Mirth » Fhir » Example] | ||
* [https://medium.com/@enverkaradede/mirth-on-kubernetes-d97cb2852b91 Mirth » K8s » Example] | |||
| valign="top" | | | valign="top" | | ||
Line 80: | Line 147: | ||
| valign="top" | | | valign="top" | | ||
* [https://askubuntu.com/questions/1134881/ JNLP » IcedTea » Cannot Run Any JNLP] | |||
* [https://icedtea.classpath.org/download/ JNLP » IcedTea » Download] | |||
* [https://github.com/nextgenhealthcare/sumologic-sdk-go NextGen » SumoLogic] | * [https://github.com/nextgenhealthcare/sumologic-sdk-go NextGen » SumoLogic] | ||
* [https://github.com/icedtea-git/icedtea/ JNLP » IcedTea » SCM] | |||
* [https://docs.docker.com/reference/cli/docker/swarm/ Docker » Swarm] | |||
* [https://docs.docker.com/reference/cli/docker/stack/ Docker » Stack] | * [https://docs.docker.com/reference/cli/docker/stack/ Docker » Stack] | ||
* [https://en.wikipedia.org/wiki/IcedTea JNLP » IcedTea] | |||
* [https://www.nextgen.com/ NextGen] | * [https://www.nextgen.com/ NextGen] | ||
* [[Helm]] | |||
| valign="top" | | | valign="top" | |
Latest revision as of 12:58, 9 June 2024
Docker Stack
mkdir -p ~/Documents/mirth-playground/
cd ~/Documents/mirth-playground/
docker-compose -f stack.yml up -d
docker-compose -f stack.yml logs -f
docker-compose -f stack.yml down
# onboarding
open http://172.17.0.3:8080 &>/dev/null &
xdg-open http://172.17.0.3:8080 &>/dev/null &
# dashboard
open https://172.17.0.3:8443 &>/dev/null &
xdg-open https://172.17.0.3:8443 &>/dev/null &
# page: https://172.17.0.3:8443
# user: admin
# pass: admin
docker exec -it mirth_apps bash
docker exec -it mirth_apps ls -lah
docker exec -it mirth_apps ps -aux
docker exec -it mirth_apps ls -lah ..
docker exec -it mirth_apps java -version
docker exec -it mirth_psql bash
docker exec -it mirth_psql psql -Umirthdb
SELECT * FROM person_password;
SELECT * FROM configuration;
SELECT * FROM schema_info;
SELECT * FROM person;
SELECT * FROM event;
|
cat << YML | tee ~/Documents/mirth-playground/stack.yml >/dev/null
version: "3.1"
services:
mc:
image: nextgenhealthcare/connect
container_name: mirth_apps
platform: linux/amd64
environment:
- DATABASE=postgres
- DATABASE_URL=jdbc:postgresql://db:5432/mirthdb
- DATABASE_MAX_CONNECTIONS=20
- DATABASE_USERNAME=mirthdb
- DATABASE_PASSWORD=mirthdb
- DATABASE_MAX_RETRY=2
- DATABASE_RETRY_WAIT=10000
- KEYSTORE_STOREPASS=docker_storepass
- KEYSTORE_KEYPASS=docker_keypass
- VMOPTIONS=-Xmx512m
ports:
- 8080:8080/tcp
- 8443:8443/tcp
depends_on:
- db
db:
image: postgres
container_name: mirth_psql
environment:
- POSTGRES_USER=mirthdb
- POSTGRES_PASSWORD=mirthdb
- POSTGRES_DB=mirthdb
expose:
- 5432
YML
|
Playground
sudo apt install icedtea-netx
apt search icedtea-netx
|
sudo apt install libcanberra-gtk-module
apt search libcanberra-gtk-module
|
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
javaws ~/Downloads/webstart.jnlp
|
| ||
References
| ||
| ||