forked from openemr/openemr-devops
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
38 lines (38 loc) · 876 Bytes
/
docker-compose.dev.yml
File metadata and controls
38 lines (38 loc) · 876 Bytes
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
version: '3.1'
services:
mysql:
restart: always
build: ../../docker/mysql-xtrabackup/
ports:
- 3306:3306
command: ['mysqld','--character-set-server=utf8']
volumes:
- sqlbackup:/mnt/backups
# declining to define volume for ephemeral dev container
#- databasevolume:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
openemr:
restart: always
build: ../../docker/openemr/7.0.2
ports:
- 80:80
- 443:443
volumes:
- logvolume01:/var/log
- sitevolume:/var/www/localhost/htdocs/openemr/sites
environment:
MYSQL_HOST: mysql
MYSQL_ROOT_PASS: root
MYSQL_USER: openemr
MYSQL_PASS: openemr
OE_USER: admin
OE_PASS: pass
OPENEMR_DOCKER_ENV_TAG: lightsail
links:
- mysql
volumes:
logvolume01: {}
sitevolume: {}
sqlbackup: {}
#databasevolume: {}