Mirth: Difference between revisions
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
# onboarding | # onboarding | ||
open http://172.17.0.3:8080 &>/dev/null & | open http://172.17.0.3:8080 &>/dev/null & | ||
xdg-open http://172.17.0.3:8080 &>/dev/null & | xdg-open http://172.17.0.3:8080 &>/dev/null & | ||
# dashboard | # dashboard | ||
open https://172.17.0.3:8443 &>/dev/null & | open https://172.17.0.3:8443 &>/dev/null & | ||
xdg-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 25: | Line 45: | ||
mc: | mc: | ||
image: nextgenhealthcare/connect | image: nextgenhealthcare/connect | ||
container_name: mirth_apps | |||
platform: linux/amd64 | platform: linux/amd64 | ||
environment: | environment: | ||
Line 44: | Line 65: | ||
db: | db: | ||
image: postgres | image: postgres | ||
container_name: mirth_psql | |||
environment: | environment: | ||
- POSTGRES_USER=mirthdb | - POSTGRES_USER=mirthdb |
Revision as of 00:55, 6 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
# 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
|
References
| ||
| ||