Skip to content

Instantly share code, notes, and snippets.

@brianraila
Created June 12, 2019 14:17
Show Gist options
  • Save brianraila/454b66972d4643b7c74d6b3e387d10e2 to your computer and use it in GitHub Desktop.
Save brianraila/454b66972d4643b7c74d6b3e387d10e2 to your computer and use it in GitHub Desktop.
Docker Compose file for OpenEMR
version: '3.1'
services:
mysql:
restart: always
image: mariadb:10.2
command: ['mysqld','--character-set-server=utf8']
volumes:
- databasevolume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
image: openemr/openemr:flex-3.8
ports:
- 80:80
- 443:443
volumes:
- logvolume01:/var/log
- sitevolume:/var/www/localhost/htdocs/openemr/sites
environment:
MYSQL_HOST: mysql
MYSQL_ROOT_PASS: root
MYSQL_USER: openemr
MYSQL_PASS: openemr
OE_USER: admin
OE_PASS: pass
FLEX_REPOSITORY: https://github.com/openemr/openemr.git
FLEX_REPOSITORY_BRANCH: master
depends_on:
- mysql
volumes:
logvolume01: {}
sitevolume: {}
databasevolume: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment