This repo is a git-sparse-checkout from https://github.com/MIT-LCP/eicu-code
. # Root
├── data # eicu-demo data
├── docker # Dockerfile etc
├── LICENSE
├── postgres # scripts for SQL database
└── README.md
cd postgres
make initialize
make eicu-gz datadir=${PWD}/../data/
docker build . -f docker/Dockerfile -t shajoezhu/demo-eicu
或者直接从docker库下载 (Or you can pull it from docker repository via)
docker pull shajoezhu/demo-eicu
首次运行,需要组建数据库 (For the first time, we need to build the database)
docker run -d \
--name demo-eicu-container \
-p 5434:5432 \
-e BUILD_EICU=1 \
-e EICU_PASSWORD=eicu \
-e POSTGRES_PASSWORD=postgres \
shajoezhu/demo-eicu
docker stop demo-eicu-container
docker start demo-eicu-container