forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
141 lines (141 loc) · 4.61 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#
# This is for building a local OpenEMR development and testing environment.
# (Recommend not running it from your git repo and instead mirroring your
# git repo to a testing directory (such as your web directory).)
#
# Brief instructions on how to use (for fuller instructions and examples,
# see the document at contrib/util/docker/README.md):
# 1. docker-compose up -d
# 2. http://localhost:8080 to run setup in openemr (alpine 3.7 with Apache and PHP 7.1)
# or
# https://localhost:8090 to run setup in openemr with SSL (alpine 3.7 with Apache and PHP 7.1)
# or
# http://localhost:8081 to run setup in openemr (alpine edge with Apache and PHP 7.2)
# or
# https://localhost:8091 to run setup in openemr with SSL (alpine edge with Apache and PHP 7.2)
# or
# http://localhost:8085 to run setup in openemr (Nginx with php-fpm PHP 7.2) EXPERIMENTAL
# or
# https://localhost:8095 to run setup in openemr with SSL (Nginx with php-fpm PHP 7.2) EXPERIMENTAL - NOT YET WORKING
# On the main setup input screen:
# 1. for Server Host, use either 'mariadb' or 'mysql' or `mariadb-dev` or 'mysql-dev' or 'mysql-old' or 'mysql-very-old' or 'mariadb-old' or 'mariadb-very-old' or 'mariadb-very-very-old' (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; mysql-old is version 5.6; mysql-very-old is version 5.5; mariadb is version 10.2 and mariadb-dev is version 10.3; mariadb-old is version 10.1; mariadb-very-old is version 10.0; mariadb-very-very-old is version 5.5)
# 2. for Root Pass, use 'root'
# 3. for User Hostname, use '%'
# And when need to tear it down and restart it
# 1. docker-compose down -v
# 2. docker-compose up -d
# Can see databases via http://localhost:8100
#
version: '3.1'
services:
openemr-7-1:
restart: always
image: openemr/openemr:flex
ports:
- 8080:80
- 8090:443
volumes:
- .:/var/www/localhost/htdocs/openemr
environment:
EMPTY: "yes"
openemr-7-2:
restart: always
image: openemr/openemr:flex-edge
ports:
- 8081:80
- 8091:443
volumes:
- .:/var/www/localhost/htdocs/openemr
environment:
EMPTY: "yes"
mariadb:
restart: always
image: mariadb:10.2
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mysql:
restart: always
image: mysql:5.7
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mariadb-dev:
restart: always
image: mariadb:10.3
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mysql-dev:
restart: always
image: mysql:8
command: ['mysqld','--character-set-server=utf8','--default-authentication-plugin=mysql_native_password']
environment:
MYSQL_ROOT_PASSWORD: root
mariadb-old:
restart: always
image: mariadb:10.1
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mariadb-very-old:
restart: always
image: mariadb:10.0
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mariadb-very-very-old:
restart: always
image: mariadb:5.5
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mysql-old:
restart: always
image: mysql:5.6
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
mysql-very-old:
restart: always
image: mysql:5.5
command: ['mysqld','--character-set-server=utf8']
environment:
MYSQL_ROOT_PASSWORD: root
phpmyadmin:
restart: always
image: phpmyadmin/phpmyadmin
ports:
- 8100:80
environment:
PMA_HOSTS: mariadb,mysql,mariadb-dev,mysql-dev,mysql-old,mysql-very-old,mariadb-old,mariadb-very-old,mariadb-very-very-old
couchdb:
restart: always
image: couchdb
ports:
- 5984:5984
- 6984:6984
environment:
COUCHDB_USER: admin
COUCHDB_PASSWORD: password
orthanc:
restart: always
image: jodogne/orthanc-plugins
ports:
- 4242:4242
- 8042:8042
nginx:
restart: always
image: nginx
ports:
- 8085:80
- 8095:443
volumes:
- .:/usr/share/nginx/html/openemr
- ./contrib/util/docker/stuff/configs/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
dev-php-fpm-7-2:
restart: always
image: openemr/dev-php-fpm-7-2
volumes:
- .:/usr/share/nginx/html/openemr
- ./contrib/util/docker/stuff/configs/dev-php-fpm-7-2/php.ini:/usr/local/etc/php/php.ini:ro