- Current Docker version 18.03.0-ce, build 0520e24
- Current docker-compose version 1.18.0, build 8dd22a9
$ git clone https://github.gatech.edu/gt-hit-spring2018/Asthma-Control.git
$ cd Asthma-Control/
The project can be run either in docker, or locally.
# docker maven build
$ mvn clean package docker:build
# start project
$ docker-compose up
-
run MySQL docker container
$ docker run \ -e MYSQL_ROOT_PASSWORD=p4$$W0rd \ -e MYSQL_DATABASE=epidemics \ -e MYSQL_USER=epidemics \ -e MYSQL_PASSWORD=epidemics \ -p 3306:3306 \ --name mysql \ --mount type=bind,source=/home/atalati/Documents/Asthma-Control/database/,target=/docker-entrypoint-initdb.d \ mysql
-
run FHIR docker container
$ docker run -p 8080:8080 \ --name fhir \ johnson325/hapi-fhir-jpaserver:stu3-ext-6-patient
-
After the MySQL is up, run following command to start the web server
# local maven build $ mvn clean package # run web server locally (profiles.active=local) java -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=local -jar target/epidemics-web.jar
Web App URL http://localhost:8081/
Local FHIR Server URL http://localhost:8080/