Commit a5e411c 1 parent aa91039 commit a5e411c Copy full SHA for a5e411c
File tree 4 files changed +96
-10
lines changed
4 files changed +96
-10
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,6 @@ dependencies:
50
50
version : ~1.0.0-0
51
51
condition : implementer-interface.enabled
52
52
53
- - repository : https://bahmniindiadistro .github.io/helm-charts
53
+ - repository : https://bahmni .github.io/helm-charts
54
54
name : clinic-config
55
55
version : ~1.0.0-0
Original file line number Diff line number Diff line change
1
+ # openmrsdb.yaml
2
+
3
+ ` db/openmrsdb.yaml ` specification is only for local Minikube development. Please refer [ Developers Guide] ( https://bahmni.atlassian.net/wiki/spaces/BAH/pages/3073245197/Bahmni+K8s+with+Minikube+for+Development ) for more information.
Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : PersistentVolumeClaim
3
+ metadata :
4
+ labels :
5
+ name : openmrsdbdata-pvc
6
+ name : openmrsdbdata-pvc
7
+ spec :
8
+ storageClassName : standard
9
+ accessModes :
10
+ - ReadWriteOnce
11
+ resources :
12
+ requests :
13
+ storage : 4Gi
14
+ ---
15
+ apiVersion : v1
16
+ kind : PersistentVolume
17
+ metadata :
18
+ name : openmrsdbdata-pv
19
+ spec :
20
+ storageClassName : standard
21
+ claimRef :
22
+ name : openmrsdbdata-pvc
23
+ capacity :
24
+ storage : 4Gi
25
+ accessModes :
26
+ - ReadWriteOnce
27
+ hostPath :
28
+ path : ' /mnt/bahmni/openmrsdbdata'
29
+ ---
30
+ apiVersion : apps/v1
31
+ kind : Deployment
32
+ metadata :
33
+ labels :
34
+ app : openmrsdb
35
+ environment : local
36
+ name : openmrsdb
37
+ spec :
38
+ selector :
39
+ matchLabels :
40
+ app : openmrsdb
41
+ replicas : 1
42
+ strategy :
43
+ type : Recreate
44
+ template :
45
+ metadata :
46
+ labels :
47
+ app : openmrsdb
48
+ environment : local
49
+ spec :
50
+ containers :
51
+ - env :
52
+ - name : MYSQL_DATABASE
53
+ value : openmrs
54
+ - name : MYSQL_PASSWORD
55
+ value : password
56
+ - name : MYSQL_ROOT_PASSWORD
57
+ value : root
58
+ - name : MYSQL_USER
59
+ value : openmrs-user
60
+ image : mysql:5.7
61
+ name : openmrsdb
62
+ ports :
63
+ - containerPort : 3306
64
+ resources : {}
65
+ volumeMounts :
66
+ - mountPath : /var/lib/mysql
67
+ name : openmrsdbdata
68
+ restartPolicy : Always
69
+ volumes :
70
+ - name : openmrsdbdata
71
+ persistentVolumeClaim :
72
+ claimName : openmrsdbdata-pvc
73
+ ---
74
+ apiVersion : v1
75
+ kind : Service
76
+ metadata :
77
+ name : openmrsdb
78
+ spec :
79
+ ports :
80
+ - name : ' 3306'
81
+ port : 3306
82
+ targetPort : 3306
83
+ selector :
84
+ app : openmrsdb
85
+ environment : local
86
+ type : ClusterIP
Original file line number Diff line number Diff line change 1
- global :
2
- postgresql :
3
- auth :
4
- postgresPassword : welcome
5
-
6
1
metadata :
7
2
labels :
8
3
environment : local
@@ -17,9 +12,11 @@ openmrs:
17
12
secrets :
18
13
OMRS_DB_USERNAME : openmrs-user
19
14
OMRS_DB_PASSWORD : password
20
- OMRS_DB_HOSTNAME : mysql
15
+ OMRS_DB_HOSTNAME : openmrsdb
21
16
config :
22
17
OMRS_DB_NAME : openmrs
18
+ DEBUG : true
19
+ OMRS_CREATE_TABLES : true
23
20
bahmni-web :
24
21
enabled : true
25
22
bahmni-lab :
@@ -29,7 +26,7 @@ crater:
29
26
config :
30
27
APP_URL : http://payments-bahmni.k8s
31
28
DB_DATABASE : crater
32
- DB_HOST : mysql
29
+ DB_HOST : openmrsdb
33
30
DB_PORT : 3306
34
31
SANCTUM_STATEFUL_DOMAINS : payments-bahmni.k8s
35
32
SESSION_DOMAIN : payments-bahmni.k8s
@@ -50,10 +47,10 @@ reports:
50
47
OPENMRS_DB_NAME : openmrs
51
48
REPORTS_DB_NAME : reports
52
49
secrets :
53
- OPENMRS_DB_HOST : mysql
50
+ OPENMRS_DB_HOST : openmrsdb
54
51
OPENMRS_DB_USERNAME : openmrs-user
55
52
OPENMRS_DB_PASSWORD : password
56
- REPORTS_DB_SERVER : mysql
53
+ REPORTS_DB_SERVER : openmrsdb
57
54
REPORTS_DB_USERNAME : reports-user
58
55
REPORTS_DB_PASSWORD : password
59
56
patient-documents :
You can’t perform that action at this time.
0 commit comments