forked from openemr/openemr-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
78 lines (78 loc) · 1.59 KB
/
compose.yml
File metadata and controls
78 lines (78 loc) · 1.59 KB
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
services:
mysql:
image: mariadb:11.4
command:
- mariadbd
- --character-set-server=utf8mb4
environment:
MYSQL_ROOT_PASSWORD: root
healthcheck:
test:
- CMD
- /usr/local/bin/healthcheck.sh
- --su-mysql
- --connect
- --innodb_initialized
start_period: 1m
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
openemr:
profiles:
- prod
build:
context: ${DOCKER_CONTEXT_PATH}
ports:
- 8080:80
depends_on:
mysql:
condition: service_healthy
environment:
MANUAL_SETUP: 'yes'
MYSQL_HOST: mysql
MYSQL_PASS: openemr
MYSQL_ROOT_PASS: root
MYSQL_USER: openemr
OE_PASS: pass
OE_USER: admin
healthcheck:
test:
- CMD
- curl
- -fsSLo/dev/null
- http://localhost/
start_period: 10m
start_interval: 10s
interval: 1m
timeout: 5s
retries: 3
openemr-kcov:
extends:
service: openemr
profiles: !override
- kcov
build:
context: ${DOCKER_CONTEXT_PATH}
target: kcov
volumes:
- ./coverage-reports:/var/www/localhost/htdocs/coverage
openemr-dev:
extends:
service: openemr
profiles: !override
- dev
environment:
EMPTY: "yes"
volumes:
- ../../openemr:/var/www/localhost/htdocs/openemr
openemr-kcov-dev:
extends:
service: openemr-dev
profiles: !override
- kcov-dev
build:
context: ${DOCKER_CONTEXT_PATH}
target: kcov
volumes:
- ./coverage-reports:/var/www/localhost/htdocs/coverage