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).)
7 # 1. docker-compose up -d
8 # 2. http://localhost:8080 to run setup in openemr (alpine 3.7 with PHP 7.1)
10 # https://localhost:8090 to run setup in openemr with SSL (alpine 3.7 with PHP 7.1)
12 # http://localhost:8081 to run setup in openemr (alpine edge with PHP 7.2)
14 # https://localhost:8091 to run setup in openemr with SSL (alpine edge with PHP 7.2)
15 # On the main setup input screen:
16 # 1. for Server Host, use either 'mysql' or 'mariadb' (have both mysql/mariadb dockers ready to go make testing either one easy)
17 # 2. for Root Pass, use 'root'
18 # 3. for User Hostname, use '%'
19 # And when need to tear it down and restart it
20 # 1. docker-compose down -v
21 # 2. docker-compose up -d
22 # Can see databases via:
23 # -mariadb via http://localhost:8100
24 # -mysql via http://localhost:8101
30 image: openemr/openemr:flex
35 - .:/var/www/localhost/htdocs/openemr
40 image: openemr/openemr:flex-edge
45 - .:/var/www/localhost/htdocs/openemr
51 command: ['mysqld','--character-set-server=utf8']
53 MYSQL_ROOT_PASSWORD: root
57 command: ['mysqld','--character-set-server=utf8']
59 MYSQL_ROOT_PASSWORD: root
62 image: phpmyadmin/phpmyadmin
69 image: phpmyadmin/phpmyadmin
79 COUCHDB_PASSWORD: password