Skip to content

Commit

Permalink
PHEE-362 Run community-app without waiting for fineract-server (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
logoutdhaval authored Jul 21, 2023
1 parent 64f61ca commit 4727a78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ spec:
app: mifos-community
tier: frontend
spec:
{{- if .Values.communityapp.lookforservice }}
initContainers:
- name: init-myservice
image: busybox:1.28
command: ['sh', '-c', 'echo -e "Checking for the availability of Fineract server deployment"; while ! nc -z "fineract-server" 8443; do sleep 1; printf "-"; done; echo -e " >> Fineract server has started";']
{{- end}}
containers:
- name: mifos-community
image: "{{ .Values.communityapp.image }}"
Expand Down
1 change: 1 addition & 0 deletions helm/fineract/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ fineract:

communityapp:
enabled: true
lookforservice: true
image: "419830066942.dkr.ecr.ap-south-1.amazonaws.com/community-app:latest"
ingress:
enabled: true
Expand Down

0 comments on commit 4727a78

Please sign in to comment.