25 Commits
Author SHA1 Message Date
admin ae235109ab - updated streamline-image tag
- updated package version
- edit source image tags
2026-05-22 10:44:14 +03:00
Patrick Gregorio 5d5f430a2d Removed image mapping in the config.json file 2025-04-03 12:32:35 -06:00
alec.turner 886b364b55 add updated 'start_up.sh' script for streamline-emr docker image
This modified script replaces adds a wait condition on startup before attempting
to interact with the database. This is done with 'mariadb-admin ping' run in a
loop at 1s intervals, ultimately timing out after 30s if unsuccessful. Other
minor updates to the script print additional info the docker logs during
startup.
2025-04-02 15:44:52 -07:00
admin 72d3c83455 updated .gitignore 2025-04-01 16:22:08 +03:00
admin 91a4b10a5a removed streamline-src dir, modified compose file, updated Dockerfile.* files 2025-04-01 15:37:46 +03:00
admin fd783b5003 edit corntab to run every hour 2025-03-31 17:03:17 +03:00
admin aa42e72127 move Dockerfile 2025-03-31 16:36:26 +03:00
admin b1d2cbbcbf decode json string from cache to request body 2025-03-31 16:34:43 +03:00
admin 9f7196d146 statistics docker dir cleanup 2025-03-31 16:04:19 +03:00
admin 2dc2287379 resolved conflicts 2025-03-31 03:46:05 +03:00
admin b0a69145d7 cleanups 2025-03-30 14:37:01 +03:00
admin 6557a951ba statistics docker setup, cleanup on sync script, added supervisord 2025-03-30 14:36:20 +03:00
admin b0c09ade50 streamline-emr v2.3 custom sync service scripts, docker-compose updates 2025-03-26 19:18:23 +03:00
admin 22473c8f3f cleanup & setting up sync update 2025-03-24 17:19:51 +03:00
adminandalec.turner 4b569f81b0 updated streamline-setup v2 2025-01-15 08:53:49 -08:00
alec.turner a47c7b3d98 Fix wkhtmltopdf bugs
The wkhtmltopdf library does not work with the latest version of alpine. To
workaround this, a known working image based on an older alpine image is pulled
in and relevant libraries copied to the target image.

The `snappy` package required a few updates to support this, including setting
the wkhtmltopdf binary path explicitly and to enable access to local files
(disabled by default).
2024-05-01 17:03:14 -07:00
alec.turner 5e1cb0d8b4 update db init data to fix triage bug
The table `gender_based_violences` was missing a `triage_id` field, causing an
exception to occur in some cases when selecting the triage button. This change
alters the schema of the table to ensure the column is always present.
2024-04-25 15:12:52 -07:00
alec.turner d26252fc11 update dockerfiles based on latest streamline image
The latest images incorporate all changes previously added by the dockerfiles.
The arm image however is still missing/unreliable from the registry and must be
built independently.
2024-04-25 10:04:06 -07:00
alec.turner e35fc56163 Explicitly set version hash to use 7 characters
While 7 is the default number of characters used to abbreviate a commit hash,
this is not (by default) constant and different instances of the same repo may
generate different version strings as a result. This commit sets this length
explicitly to 7 in both package.sh and build-image scripts.
2024-04-11 11:43:26 -07:00
alec.turner 4a89356390 Import latest app updates from streamline
An updated set of source files and initialization was provided by streamline to
address issues observed during initial testing. These files have been updated in
order to generate a new set of app images.
2024-04-11 11:16:51 -07:00
alec.turner 9cbefc841f Simplify application management and align with other docker applications
The notion of application "instances" is dropped in favor of a simpler,
single-instance approach. Default values are provided for all configuration
variables so allow the app to run without additional manual configuration.

A health check and auto-heal script are added to automatically restart the
application in case it becomes unavailable during operation.
2024-03-25 09:34:34 -07:00
alec.turner 6c59b1ab76 bugfixes and cleanup from kenyaemr
- fix monitor script
- fix to allow docker build-image script to run from outside folder
- split instance configuration out of start script
2024-03-14 16:27:56 -07:00
alec.turner a424394109 Build modified streamline images
The official image from streamline does not currently work for the arm64
platform. As a temporary measure, the source code and docker build scripts
have been lifted from the official images and are used to build locally.

Some additional modifications are made to reduce overall image size, these
are documented in docker/README.md
2024-03-10 16:17:50 -07:00
alec.turner 63ba4d29c8 Update docker images to modify mysql configuration
Dockerfiles are updated with two key changes:
- use streamline's official images as a base
- replace two files related to mysql configuration

A README.md file is added to the docker folder which details the changes, but
the key difference is to limit binary logs to only the `streamline` database.
This prevents additional system databases from being included, which the
database sync tools do not (yet) support.

An unrelated bugfix corrects the docker-compose image tag, specifying 'latest'
instead of a previously hard-coded version.
2024-03-10 14:51:17 -07:00
alec.turner e88aef18f4 Add image utils and bugfixes from kenya-emr 2024-03-09 14:07:45 -08:00