This repository is where OpenTeleRehab is implemented in Microservices and using docker-compose and single sign on with keycloak.
- Web Essentials Co., Ltd
- Git version >= 2.0.0
- Docker version >= 17.12.0
- docker-compose >= 1.12.0
```bash
git clone [email protected]:hiv-tra-20/Distribution.git ~/dev/docker-projects/hiv/distribution
```
OR from public github repo master branch
```bash
git clone [email protected]:OpenTeleRehab/Distribution.git ~/dev/docker-projects/hiv/distribution
```
cd ~/dev/docker-projects/hiv/distribution
make help
make setup
OR with public repo
make setup [email protected]:OpenTeleRehab
- Admin Portal with user access below:
- [email protected] / Super@Admin
- [email protected] / Organization@Admin
- [email protected] / Country@Admin
- [email protected] / Clinic@Admin
- Therapist Portal with user access below:
- [email protected] / Therapist@Portal
- Library Portal with user access below:
- [email protected] / Library@Portal
- Rocket Chat with user access below:
- admin / Rocketchat@Admin
- Keycloak with user access below:
- admin / KC@Admin
-
Backup mysql database
keycloak_db, admin_service_db, therapist_service_db, patient_service_db, vn_patient_service_db, phone_service_db, open_library_service_dbdocker-compose exec -T keycloak_db /usr/bin/mysqldump -uroot -proot keycloak | gzip -9 > kc_db_dump.sql.gz
-
Backup Mongo database rocketchate
docker-compose exec -T mongo mongodump --archive > mongo_db_dump.gz
Access database via user interface: http://localhost:8060/
make
make docker-net
make apache-supersetmake
make docker-net
make presto./config/docker/presto/etc-
Manually up docker
docker-compose up -d
-
Manually kill running docker
docker-compose kill
-
Invalid ssl certificate
- Download fullchain.pem, privkey.pem files, and replace them into
./config/docker/ssl/. Then please restart the docker containers.
curl -o config/docker/ssl/fullchain.pem https://packages.web-essentials.asia/boxes/devssl/wehost.asia/fullchain.pem curl -o config/docker/ssl/privkey.pem https://packages.web-essentials.asia/boxes/devssl/wehost.asia/privkey.pem
- Download fullchain.pem, privkey.pem files, and replace them into