-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
47 lines (44 loc) · 1.23 KB
/
docker-compose.yaml
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
version: "3.8"
services:
db:
image: postgres:12.6
environment:
POSTGRES_PASSWORD: "${POSTGRES_PASSWORD:-password}"
# adminer:
# image: adminer
# ports:
# - 8080:8080
# depends_on:
# - db
memorabel-parser:
image: pmateus/memorabel-data-harmonization:1.6.3
stdin_open: true
tty: true
environment:
DB_USER: postgres
DB_PASSWORD: "${POSTGRES_PASSWORD:-password}"
DB_HOST: db
DB_PORT: 5432
DB_DATABASE: CDM
DOCKER_ENV: 1
VOCABULARY_PATH: /usr/src/app/vocabularies
DESTINATION_MAPPING_PATH: /mnt/mappings/destination_mapping.csv
SOURCE_MAPPING_PATH: /mnt/mappings/source_mapping.csv
DATASET_PATH: /mnt/data/dataset.csv
DATASET_DELIMITER: ","
SOURCE_NAME: CDM database for Cohort 1
HOLDER: Cohort 1 Administrator
DESCRIPTION:
REFERENCE:
ETL_REFERENCE: https://gitlab.com/UM-CDS/projects/memorabel/-/tree/master/data_harmonization
CDM_VERSION: 6.0
VOCABULARY_VERSION: 1.0
FOLLOW_UP_SUFFIX: "_FU1;_FU2"
IGNORE_ENCODING_ERRORS: 0
ENCODING: "UTF-8"
MISSING_VALUES: "-999"
volumes:
- $PWD/mappings:/mnt/mappings
- $PWD/data:/mnt/data
depends_on:
- db