update hosted-app-utils to use simplified package management

This commit is contained in:
2024-10-18 14:42:40 -07:00
parent 49f4681a74
commit abf1c11d47
4 changed files with 34 additions and 5 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
LOCATION="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
CONFIG=${CONFIG:-${LOCATION}/config.json}
COMPOSE=${COMPOSE:-${LOCATION}/docker-compose.yml}
SRC=${SRC:-${LOCATION}/src}
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} $@
+30
View File
@@ -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:
streamline-emr:
image: ${APP_IMAGE:-streamline-emr:latest}
container_name: ${APP_CONTAINER:-streamline-emr}
restart: unless-stopped
volumes:
- "${DATA_DIR:-./data}:/var/lib/mysql"
ports:
- "${APP_PORT:-3000}:80"
dns: 0.0.0.0
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:80"]
timeout: 30s