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 'mysql' or 'mariadb' (have both mysql/mariadb dockers ready to go make testing either one easy)
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:
24 # -mariadb via http://localhost:8100
25 # -mysql via http://localhost:8101
31 image: openemr/openemr:flex
36 - .:/var/www/localhost/htdocs/openemr
41 image: openemr/openemr:flex-edge
46 - .:/var/www/localhost/htdocs/openemr
52 command: ['mysqld','--character-set-server=utf8']
54 MYSQL_ROOT_PASSWORD: root
58 command: ['mysqld','--character-set-server=utf8']
60 MYSQL_ROOT_PASSWORD: root
63 image: phpmyadmin/phpmyadmin
70 image: phpmyadmin/phpmyadmin
80 COUCHDB_PASSWORD: password