Mirth: Difference between revisions
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
==Docker Stack== | ==Docker Stack== | ||
{| | |||
|valign="top"| | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
mkdir -p ~/Documents/mirth-playground/ | mkdir -p ~/Documents/mirth-playground/ | ||
cd ~/Documents/mirth-playground/ | |||
</syntaxhighlight> | </syntaxhighlight> | ||
|valign="top"| | |||
<syntaxhighlight lang="yaml"> | |||
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 | |||
</syntaxhighlight> | |||
|} | |||
==References== | ==References== |
Revision as of 23:39, 5 June 2024
Docker Stack
mkdir -p ~/Documents/mirth-playground/
cd ~/Documents/mirth-playground/
|
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
| ||
| ||