Mirth: Difference between revisions
Jump to navigation
Jump to search
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 | |||
# 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 & | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 00:06, 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 &
|
cat << YML | tee ~/Documents/mirth-playground/stack.yml >/dev/null
version: "3.1"
services:
mc:
image: nextgenhealthcare/connect
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
environment:
- POSTGRES_USER=mirthdb
- POSTGRES_PASSWORD=mirthdb
- POSTGRES_DB=mirthdb
expose:
- 5432
YML
|
References
| ||
| ||