2 # This is for building a local OpenEMR development and testing environment.
3 # (Recommend not running it from your git repo and instead mirroring your
4 # git repo to a testing directory (such as your web directory).)
6 # Brief instructions on how to use (for fuller instructions and examples,
7 # see the document at contrib/util/docker/README.md):
8 # 1. docker-compose up -d
9 # 2. http://localhost:8080 to run setup in openemr (alpine 3.7 with PHP 7.1)
11 # https://localhost:8090 to run setup in openemr with SSL (alpine 3.7 with PHP 7.1)
13 # http://localhost:8081 to run setup in openemr (alpine edge with PHP 7.2)
15 # https://localhost:8091 to run setup in openemr with SSL (alpine edge with PHP 7.2)
16 # On the main setup input screen:
17 # 1. for Server Host, use either 'mariadb' or 'mysql' or `mariadb-dev` or 'mysql-dev' (have both mariadb/mysql/mariadb-dev/mysql-dev dockers ready to go make testing either one easy; mysql is version 5.7; mysql-dev is version 8; mariadb is version 10.2 and mariadb-dev is version 10.3)
18 # 2. for Root Pass, use 'root'
19 # 3. for User Hostname, use '%'
20 # And when need to tear it down and restart it
21 # 1. docker-compose down -v
22 # 2. docker-compose up -d
23 # Can see databases via http://localhost:8100
29 image: openemr/openemr:flex
34 - .:/var/www/localhost/htdocs/openemr
39 image: openemr/openemr:flex-edge
44 - .:/var/www/localhost/htdocs/openemr
50 command: ['mysqld','--character-set-server=utf8']
52 MYSQL_ROOT_PASSWORD: root
56 command: ['mysqld','--character-set-server=utf8']
58 MYSQL_ROOT_PASSWORD: root
62 command: ['mysqld','--character-set-server=utf8']
64 MYSQL_ROOT_PASSWORD: root
68 command: ['mysqld','--character-set-server=utf8']
70 MYSQL_ROOT_PASSWORD: root
73 image: phpmyadmin/phpmyadmin
77 PMA_HOSTS: mariadb,mysql,mariadb-dev,mysql-dev
83 COUCHDB_PASSWORD: password