Last active
June 24, 2018 20:42
-
-
Save bradymiller/fb8f0fbf9fff74b7666a217f0e9c28a1 to your computer and use it in GitHub Desktop.
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
# 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 | |
command: ['mysqld','--character-set-server=utf8'] | |
environment: | |
MYSQL_ROOT_PASSWORD: root | |
openemr: | |
restart: always | |
image: openemr/openemr:5.0.2 | |
ports: | |
- 82:80 | |
volumes: | |
- websitevolume:/var/www/localhost/htdocs/openemr | |
environment: | |
MYSQL_HOST: mysql | |
MYSQL_ROOT_PASS: root | |
MYSQL_USER: openemr | |
MYSQL_PASS: openemr | |
OE_USER: admin | |
OE_PASS: pass | |
depends_on: | |
- mysql | |
nginx: | |
restart: always | |
image: openemr/dev-nginx:1.0 | |
ports: | |
- 80:80 | |
- 81:81 | |
volumes: | |
- websitevolume:/usr/share/nginx/html/openemr | |
depends_on: | |
- openemr | |
- dev-php-fpm-7-1 | |
- dev-php-fpm-7-2 | |
dev-php-fpm-7-1: | |
restart: always | |
image: openemr/dev-php-fpm:7.1 | |
volumes: | |
- websitevolume:/usr/share/nginx/html/openemr | |
depends_on: | |
- openemr | |
dev-php-fpm-7-2: | |
restart: always | |
image: openemr/dev-php-fpm:7.2 | |
volumes: | |
- websitevolume:/usr/share/nginx/html/openemr | |
depends_on: | |
- openemr | |
volumes: | |
websitevolume: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment