-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 1.22 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
services:
db-container:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_DATABASE: initDb
ports:
- "127.0.0.1:3306:3306"
volumes:
- ${DB_DATA_PATH}:/var/lib/mysql
- ./db:/docker-entrypoint-initdb.d
webapp-container:
image: wwuimi/mopat
depends_on:
- db-container
ports:
- "127.0.0.1:${WEBAPP_PORT}:8080"
volumes:
- ${HL7_VOLUME}:/var/lib/tomcat10/export/HL7
- ${FHIR_VOLUME}:/var/lib/tomcat10/export/FHIR
- ${ODM_VOLUME}:/var/lib/tomcat10/export/ODM
- ${REDCAP_VOLUME}:/var/lib/tomcat10/export/REDCap
- ${UPLOAD_VOLUME}:/var/lib/tomcat10/upload
- ${IMAGES_VOLUME}:/var/lib/tomcat10/images
- ${CONFIG_DIR}:/etc/mopat
environment:
- MYSQL_USER=${MYSQL_USER}
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_MOPAT_URL=${MYSQL_MOPAT_URL}
- MYSQL_MOPAT_USER_URL=${MYSQL_MOPAT_USER_URL}
- MYSQL_MOPAT_AUDIT_URL=${MYSQL_MOPAT_AUDIT_URL}
- MOPAT_SMTP_HOST=smtp.host.com
- MOPAT_SMTP_FROM=replaceme@domain.com
- MOPAT_SMTP_TO=replaceme@domain.com
- PEPPER=${PEPPER}