Repository for the SDG MRS Docker files
Docker image for ethiopia MRS sdg.
database directory contains resources to build a database image from sql file
conf directory contains dhis2 database configuration details
- Install docker in your local machine.
- clone this repo
- cd database
- Add your compressed sql file here with the name "dhis2-db.sql.gz"
- RUN: docker build -t ethiopia-sdg:1.0 .
- cd ../
- Create .env file in the root directory then add the following
DB_USER= your username
DB_NAME=database name
PASSWORD= your password - RUN: docker-compose -f docker-compose.prod.yml up
- Go to your browser: http://0.0.0.0:8085/ to access dhis2
- Install docker in your local machine.
- clone this repo
- Create .env file in the root directory then add the following content
DB_USER= your username
DB_NAME=database name
PASSWORD= your password - RUN: docker-compose -f docker-compose.prod.yml up -d