OpenEMR Local Development Docker solution now beta ready
[openemr.git] / docker-compose.yml
blobad5a138e90650b85d465b9b2c2c92fc59b2710fa
1 # Use admin/pass as user/password credentials
2 version: '3.1'
3 services:
4   mysql:
5     restart: always
6     image: mysql
7     command: ['mysqld','--character-set-server=utf8']
8     environment:
9       MYSQL_ROOT_PASSWORD: root
10     ports:
11     - 3307:3306
12   openemr:
13     restart: always
14     container_name: openemr_local_development 
15     build: ./contrib/util/docker
16     ports:
17     - 8080:80
18     - 8081:443
19     volumes:
20     - .:/var/www/localhost/htdocs/openemr
21     environment:
22       MYSQL_HOST: mysql
23       MYSQL_ROOT_PASS: root
24       MYSQL_USER: root
25       MYSQL_PASS: root
26       OE_USER: admin
27       OE_PASS: pass
28     links:
29     - mysql