BBahmni 한국어 매뉴얼검색
한국어 번역 완료
한국어English

Bahmni Docker 기본 자격 증명 변경

단계별 상위 수준 요약

실행하는 각 서비스의 사용자 이름과 암호가 안전한지 확인하십시오. OpenMRS, Crater, Metabase, Odoo, DCM4chee, OpenELIS 등 모든 서비스와 관련 데이터베이스 자격 증명을 확인합니다.

서비스와 데이터베이스의 .env 자격 증명을 업데이트해야 합니다. 일부 서비스는 실행한 상태에서 관리자 영역에 로그인하여 기본 자격 증명을 변경해야 합니다. 그 후 서비스를 내리고 새 자격 증명으로 .env 파일을 업데이트한 다음 다시 시작합니다.

전체 절차는 약 30~45분 정도 걸립니다. 변경할 암호를 찾으려면 .env 파일에서 PASSWORD로 끝나는 모든 변수를 검색합니다. 샘플 명령: cat .env | grep PASSWORD

Grep for Passwords in env file.png

Bahmni Lite 자격 증명

Service/DBVariablesComments
OpenMRS/Bahmni UI & AtomfeedOPENMRS_ATOMFEED_USER OPENMRS_ATOMFEED_PASSWORDFollow detailed steps for OpenMRS/Bahmni
OpenMRS Database(MySQL)OPENMRS_DB_USERNAME OPENMRS_DB_PASSWORD MYSQL_ROOT_PASSWORDUpdate the credentials on .env file before doing first installation.
Carter UI & AtomfeedUI-CRATER_ADMIN_EMAIL CRATER_ADMIN_PASSWORDAtomfeed-CRATER_USERNAME CRATER_PASSWORDThis creds will be used to login crater UI & Atomfeed. Update the credentials on .env file before doing first installation.Both UI & Atomfeed creds should be same.
Crater DBCRATER_DB_USERNAME CRATER_DB_USERNAMEUpdate the credentials on .env file before doing first installation.
Crater Atomfeed DBCRATER_ATOMFEED_DB_USERNAME CRATER_ATOMFEED_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Reports DBREPORTS_DB_USERNAME REPORTS_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Metabase UIMETABASE_ADMIN_EMAIL METABASE_ADMIN_EMAILThis creds will be used to login Metabase UI, update the credentials on .env file before doing first installation.
Metabase DBMETABASE_DB_USER METABASE_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Mart DBMART_DB_USERNAME MART_DB_PASSWORDUpdate the credentials on .env file before doing first installation.

Bahmni Standard 자격 증명

Service/DBVariablesComments
OpenMRS/Bahmni UI & AtomfeedOPENMRS_ATOMFEED_USER OPENMRS_ATOMFEED_PASSWORDFollow detailed steps for OpenMRS/Bahmni
OpenMRS DatabaseOPENMRS_DB_USERNAME OPENMRS_DB_PASSWORD MYSQL_ROOT_PASSWORDUpdate the credentials on .env file before doing first installation.
OpenElis UI & AtomfeedOPENELIS_ATOMFEED_USER OPENELIS_ATOMFEED_PASSWORDFollow detailed steps for OpenELIS
OpenElis DBOPENELIS_DB_USER OPENELIS_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Odoo UI & AtomfeedODOO_ATOMFEED_USER ODOO_ATOMFEED_PASSWORDFollow detailed steps for Odoo
Odoo DBODOO_DB_USER ODOO_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Pacs DBDCM4CHEE_DB_USERNAME DCM4CHEE_DB_PASSWORD PACS_DB_ROOT_PASSWORDUpdate the credentials on .env file before doing first installation.
Pacs Integration DBODOO_DB_USER ODOO_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Reports DBREPORTS_DB_USERNAME REPORTS_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Metabase UIMETABASE_ADMIN_EMAIL METABASE_ADMIN_PASSWORDThis creds will be used to login Metabase UI, update the credentials on .env file before doing first installation.
Metabase DBMETABASE_DB_USER METABASE_DB_PASSWORDUpdate the credentials on .env file before doing first installation.
Mart DBMART_DB_USERNAME MART_DB_PASSWORDUpdate the credentials on .env file before doing first installation.

서비스별 필수 단계

OpenMRS/Bahmni

OpenMRS/Bahmni EMR UI 자격 증명은 다음과 같이 변경합니다.

  1. 관리자 권한(superman 사용자)으로 OpenMRS Admin UI(https://<ip>/openmrs/)에 로그인합니다.
  2. Administration → Manage User로 이동합니다.
  3. 관리자 사용자 superman과 admin의 자격 증명을 변경합니다.
  4. 저장하고 로그아웃한 뒤 다시 로그인하여 정상 작동을 확인합니다.
  5. OPENMRS_ATOMFEED_USER와 OPENMRS_ATOMFEED_PASSWORD의 새 값으로 .env를 업데이트합니다.

OpenELIS

OpenELIS(Lab)에서는 관리자 사용자 admin으로 로그인한 뒤 Lab Security and Access Control(OpenELIS) 절차를 따르고 OPENELIS_ATOMFEED_USER와 OPENELIS_ATOMFEED_PASSWORD의 새 값으로 .env를 업데이트합니다.관련 문서: 검사실 보안 및 접근 제어(OpenELIS)

Crater

  1. 관리자(superman@bahmni.org)로 Crater에 로그인합니다.
  2. Settings → Account Setting으로 이동합니다.
  3. 새 암호로 변경합니다.
  4. 저장하고 로그아웃한 뒤 다시 로그인하여 정상 작동을 확인합니다.
  5. CRATER_ADMIN_EMAIL, CRATER_ADMIN_PASSWORD, CRATER_USERNAME, CRATER_PASSWORD의 새 값으로 .env를 업데이트합니다.

Odoo

  1. admin 사용자로 Odoo에 로그인하여 암호를 변경합니다. 저장하고 로그아웃한 뒤 다시 로그인하여 정상 작동을 확인합니다. ODOO_ATOMFEED_USER와 ODOO_ATOMFEED_PASSWORD의 새 값으로 .env를 업데이트합니다.

Metabase Analytics

  1. admin@mybahmni.org로 Metabase에 로그인합니다.
  2. Settings → Admin Settings → People(https://<ip>/metabase/admin/people)로 이동합니다.
  3. Admin 사용자 오른쪽의 ‘…’(점 3개)를 클릭하고 암호를 재설정합니다.
  4. 저장하고 로그아웃한 뒤 다시 로그인하여 정상 작동을 확인합니다.
  5. METABASE_ADMIN_EMAIL과 METABASE_ADMIN_PASSWORD의 새 값으로 .env를 업데이트합니다.
  6. Securing Metabase & Bahmni Mart Analytics Tool을 참고하여 다른 사용자의 권한도 올바르게 설정합니다.관련 문서: Metabase 및 Bahmni Mart 분석 도구 보안

DCM4chee

  1. 관리자 사용자 admin으로 DCM4chee 서비스에 로그인합니다. 암호를 변경하고 저장·로그아웃한 뒤 다시 로그인하여 정상 작동을 확인합니다. .env에서는 변경할 항목이 없습니다.

데이터베이스

  1. DB 자격 증명을 변경하기 전에 OpenMRS, Crater, Odoo 같은 앱 서비스를 중지하여 DB에 연결된 서비스가 없도록 합니다. 각 데이터베이스 컨테이너에 SSH/exec로 접속(docker compose exec <db-servicename>)한 뒤 MySQL 또는 pgsql 명령으로 연결하여 이름을 변경합니다. 연결 방법은 Connecting to various databases를 참조하십시오. MySQL 암호 재설정: https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html. Postgres 암호 재설정: https://www.geeksforgeeks.org/postgresql-reset-password-for-postgres/ 의 4단계 이후. 완료한 뒤 새 DB 자격 증명으로 .env를 업데이트하고 서비스를 다시 시작합니다.
관련 문서: 여러 데이터베이스에 연결https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.htmlhttps://www.geeksforgeeks.org/postgresql-reset-password-for-postgres/
원문 정보

Bahmni Wiki · CC BY-SA 4.0

원문 보기 ↗