Skip to content

Instantly share code, notes, and snippets.

@bradymiller
bradymiller / openemr-flex-docker-example-docker-compose.yml
Last active April 26, 2018 20:56
openemr-flex-docker-example-docker-compose.yml
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.2
@bradymiller
bradymiller / gist:f90324b20fdb3d6009fd22bb0ee0fb50
Last active August 10, 2018 08:14
php 7.2 errors in eye form/module
[10-Aug-2018 08:12:59 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/localhost/htdocs/openemr/interface/forms/eye_mag/php/eye_mag_functions.php on line 4597
[10-Aug-2018 08:12:59 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/localhost/htdocs/openemr/interface/forms/eye_mag/php/eye_mag_functions.php on line 4604
[10-Aug-2018 08:12:59 UTC] PHP Warning: Invalid argument supplied for foreach() in /var/www/localhost/htdocs/openemr/interface/forms/eye_mag/php/eye_mag_functions.php on line 4757
[10-Aug-2018 08:13:03 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/localhost/htdocs/openemr/interface/forms/eye_mag/php/eye_mag_functions.php on line 3624
[10-Aug-2018 08:13:05 UTC] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/localhost/htdocs/openemr/interface/forms/eye_mag/php/eye_mag_functi
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.2
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.2
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.4
#
# This is for building a local OpenEMR development and testing environment.
# (Recommend not running it from your git repo and instead mirroring your
# git repo to a testing directory (such as your web directory).)
#
# Brief instructions on how to use (for fuller instructions and examples,
# see the document at https://github.com/openemr/openemr/blob/master/contrib/util/docker/README.md):
# 1. At lines 35 and 45, edit them so the volume (to left of : character) is set to your local openemr web directory
# 2. docker-compose up -d
# 3. http://localhost:8080 to run setup in openemr (alpine 3.7 with PHP 7.1)
# This will use local openemr, so need to put ip address of mysql/mariadb docker for mysql host during setup
version: '3.1'
services:
mariadb:
restart: always
image: mariadb:10.2
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mysql:
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:11.4
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mysql:8
# Use admin/pass as user/password credentials to login to openemr (from OE_USER and OE_PASS below)
# MYSQL_HOST and MYSQL_ROOT_PASS are required for openemr
# FLEX_REPOSITORY and (FLEX_REPOSITORY_BRANCH or FLEX_REPOSITORY_TAG) are required for flex openemr
# MYSQL_USER, MYSQL_PASS, OE_USER, MYSQL_PASS are optional for openemr and
# if not provided, then default to openemr, openemr, admin, and pass respectively.
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.2