forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker reorg Co-authored-by: Asher Densmore-Lynn <jesdynf@gmail.com>
- Loading branch information
1 parent
709b130
commit 2790d4b
Showing
98 changed files
with
217 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
### Easy Development Docker Environment for Raspberry Pi | ||
The instructions for The Easy Development Docker environment can be found at [CONTRIBUTING.md](../../CONTRIBUTING.md#code-contributions-local-development). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
# 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 | ||
# EASY_DEV_MODE prevents issues with permissions when mounting volumes | ||
# EAST_DEV_MODE_NEW with value of 'yes' expands EASY_DEV_MODE by not requiring downloading | ||
# code from github (uses local repo). | ||
# 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: jsurf/rpi-mariadb | ||
command: ['mysqld','--character-set-server=utf8mb4','--ssl-ca=/etc/ssl/ca.pem','--ssl_cert=/etc/ssl/server-cert.pem','--ssl_key=/etc/ssl/server-key.pem'] | ||
ports: | ||
- 8320:3306 | ||
volumes: | ||
- ../development-insane/sql-ssl-certs-keys/easy/ca.pem:/etc/ssl/ca.pem:ro | ||
- ../development-insane/sql-ssl-certs-keys/easy/server-cert.pem:/etc/ssl/server-cert.pem:ro | ||
- ../development-insane/sql-ssl-certs-keys/easy/server-key.pem:/etc/ssl/server-key.pem:ro | ||
- databasevolume:/var/lib/mysql | ||
environment: | ||
MYSQL_ROOT_PASSWORD: root | ||
openemr: | ||
restart: always | ||
# use an image if you're not changing the build steps: | ||
image: openemr/openemr:flex | ||
# if editing the Dockerfile, clone the devops repo and point to the path: | ||
# build: ../openemr-devops/docker/openemr/flex-edge/ | ||
ports: | ||
- 8300:80 | ||
- 9300:443 | ||
volumes: | ||
- ../..:/openemr:ro | ||
- ../..:/var/www/localhost/htdocs/openemr:rw | ||
- publicvolume:/var/www/localhost/htdocs/openemr/public:rw | ||
- sitesvolume:/var/www/localhost/htdocs/openemr/sites:rw | ||
- nodemodules:/var/www/localhost/htdocs/openemr/node_modules:rw | ||
- vendordir:/var/www/localhost/htdocs/openemr/vendor:rw | ||
- ccdamodule:/var/www/localhost/htdocs/openemr/ccdaservice:rw | ||
- logvolume:/var/log | ||
- couchdbvolume:/couchdb/data | ||
environment: | ||
MYSQL_HOST: mysql | ||
MYSQL_ROOT_PASS: root | ||
MYSQL_USER: openemr | ||
MYSQL_PASS: openemr | ||
OE_USER: admin | ||
OE_PASS: pass | ||
EASY_DEV_MODE: "yes" | ||
EASY_DEV_MODE_NEW: "yes" | ||
# e2e requires chromium, which alpine isn't giving us in arm | ||
# TODO, need to add more granular setting for this to allow other composer developer dependencies, but not e2e | ||
DEVELOPER_TOOLS: "no" | ||
XDEBUG_IDE_KEY: PHPSTORM | ||
XDEBUG_PROFILER_ON: 1 | ||
GITHUB_COMPOSER_TOKEN: c313de1ed5a00eb6ff9309559ec9ad01fcc553f0 | ||
OPENEMR_DOCKER_ENV_TAG: easy-dev-docker | ||
OPENEMR_SETTING_rest_api: 1 | ||
OPENEMR_SETTING_rest_fhir_api: 1 | ||
OPENEMR_SETTING_rest_portal_api: 1 | ||
OPENEMR_SETTING_rest_portal_fhir_api: 1 | ||
OPENEMR_SETTING_portal_onsite_two_enable: 1 | ||
OPENEMR_SETTING_ccda_alt_service_enable: 3 | ||
OPENEMR_SETTING_couchdb_host: couchdb | ||
OPENEMR_SETTING_couchdb_port: 6984 | ||
OPENEMR_SETTING_couchdb_user: admin | ||
OPENEMR_SETTING_couchdb_pass: password | ||
OPENEMR_SETTING_couchdb_dbase: example | ||
OPENEMR_SETTING_couchdb_ssl_allow_selfsigned: 1 | ||
OPENEMR_SETTING_user_debug: 3 | ||
OPENEMR_SETTING_gbl_ldap_host: 'ldap://openldap:389' | ||
OPENEMR_SETTING_gbl_ldap_dn: 'cn={login},dc=example,dc=org' | ||
depends_on: | ||
- mysql | ||
phpmyadmin: | ||
restart: always | ||
image: phpmyadmin/phpmyadmin | ||
ports: | ||
- 8310:80 | ||
environment: | ||
PMA_HOSTS: mysql | ||
couchdb: | ||
restart: always | ||
image: couchdb | ||
ports: | ||
- 5984:5984 | ||
- 6984:6984 | ||
volumes: | ||
- ../development-insane/couchdb-config-ssl-cert-keys/local.ini:/opt/couchdb/etc/local.ini:rw | ||
- ../development-insane/couchdb-config-ssl-cert-keys/easy/ca.pem:/etc/ssl/ca.pem:ro | ||
- ../development-insane/couchdb-config-ssl-cert-keys/easy/server-cert.pem:/etc/ssl/server-cert.pem:ro | ||
- ../development-insane/couchdb-config-ssl-cert-keys/easy/server-key.pem:/etc/ssl/server-key.pem:ro | ||
- couchdbvolume:/opt/couchdb/data | ||
environment: | ||
COUCHDB_USER: admin | ||
COUCHDB_PASSWORD: password | ||
#maybe later | ||
#openldap: | ||
# restart: always | ||
# image: openemr/dev-ldap:easy | ||
# environment: | ||
# LDAP_TLS_VERIFY_CLIENT: try | ||
# LDAP_TLS_CA_CRT_FILENAME: ca.pem | ||
# LDAP_TLS_CRT_FILENAME: server-cert.pem | ||
# LDAP_TLS_KEY_FILENAME: server-key.pem | ||
volumes: | ||
databasevolume: {} | ||
publicvolume: {} | ||
sitesvolume: {} | ||
nodemodules: {} | ||
vendordir: {} | ||
ccdamodule: {} | ||
logvolume: {} | ||
couchdbvolume: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
### Easy Development Docker Environment | ||
The instructions for The Easy Development Docker environment can be found at [CONTRIBUTING.md](../../CONTRIBUTING.md#code-contributions-local-development). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.