mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 10:41:32 +00:00
update hosted-app-utils to use simplified package management
This commit is contained in:
+1
-1
Submodule hosted-app-utils updated: 6f1a9493c1...b11cb5b8c7
@@ -3,7 +3,7 @@
|
|||||||
LOCATION="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
LOCATION="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
|
|
||||||
CONFIG=${CONFIG:-${LOCATION}/config.json}
|
CONFIG=${CONFIG:-${LOCATION}/config.json}
|
||||||
COMPOSE=${COMPOSE:-${LOCATION}/docker-compose.yml}
|
SRC=${SRC:-${LOCATION}/src}
|
||||||
BUILD_DIR=${BUILD_DIR:-${LOCATION}/build-packages}
|
BUILD_DIR=${BUILD_DIR:-${LOCATION}/build-packages}
|
||||||
|
|
||||||
${LOCATION}/hosted-app-utils/package ${CONFIG} ${COMPOSE} output=${BUILD_DIR} $@
|
${LOCATION}/hosted-app-utils/package ${CONFIG} ${SRC} output=${BUILD_DIR} $@
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"name": "Streamline EMR",
|
||||||
|
"access": {
|
||||||
|
"username": "streamline_sysuser",
|
||||||
|
"password": "82CUF8UftjEx"
|
||||||
|
},
|
||||||
|
"appconfig": {
|
||||||
|
"blockgraph": {
|
||||||
|
"district": "StreamlineEmr",
|
||||||
|
"name": "streamline_emr_config"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"dbsync": {
|
||||||
|
"blockgraph": {
|
||||||
|
"district": "StreamlineEmr",
|
||||||
|
"name": "streamline_emr_data"
|
||||||
|
},
|
||||||
|
"database": {
|
||||||
|
"type": "mysql",
|
||||||
|
"version": "8.0",
|
||||||
|
"name": "streamline",
|
||||||
|
"username": "root",
|
||||||
|
"password": "streamline",
|
||||||
|
"db_path": "/var/lib/mysql",
|
||||||
|
"logs_path": "/var/lib/mysql/logs",
|
||||||
|
"log_pattern": "bin.[0-9]*",
|
||||||
|
"source": "mysql-app-db"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
version: "3.8"
|
|
||||||
services:
|
services:
|
||||||
streamline-emr:
|
streamline-emr:
|
||||||
image: ${APP_IMAGE:-streamline-emr:latest}
|
image: ${APP_IMAGE:-streamline-emr:latest}
|
||||||
container_name: ${APP_CONTAINER:-streamline-emr}
|
container_name: ${APP_CONTAINER:-streamline-emr}
|
||||||
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- "${DATA_DIR:-./data}:/var/lib/mysql"
|
- "${DATA_DIR:-./data}:/var/lib/mysql"
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-3000}:80"
|
- "${APP_PORT:-3000}:80"
|
||||||
dns: 0.0.0.0
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
test: ["CMD", "curl", "-f", "http://localhost:80"]
|
||||||
timeout: 30s
|
timeout: 30s
|
||||||
Reference in New Issue
Block a user