File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
charts/frontend/templates Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11FROM uselagoon/python-3.12:latest
22
33RUN apk add bash --no-cache
4+ RUN apk add curl --no-cache
45
56WORKDIR /app
67
@@ -20,4 +21,4 @@ RUN mkdir -p /app/logs && \
2021COPY backend-start.sh .
2122RUN chmod +x /app/backend-start.sh
2223
23- CMD ["/app/backend-start.sh" ]
24+ CMD ["/app/backend-start.sh" ]
Original file line number Diff line number Diff line change @@ -111,7 +111,13 @@ helm install amazee-ai . -n amazee-ai --create-namespace \
111111#### 4. Local deployment with kind
112112``` bash
113113kind create cluster --name amazee-ai-local
114+ # Pull the charts etc, and set the backend URL to localhost
115+ helm install amazee-ai oci://ghcr.io/amazeeio/amazee.ai/amazee-ai --namespace amazee-ai --create-namespace --set frontend.apiUrl=" http://localhost:8800"
116+ # Wait for all pods to initialise fully, then forward ports
117+ k port-forward deployment/amazee-ai-frontend 3000:3000 -n amazee-ai
118+ k port-forward deployment/amazee-ai-cbackend 8800:8800 -n amazee-ai
114119```
120+ The system should now be accessable at http://localhost:3000
115121
116122## Configuration
117123
Original file line number Diff line number Diff line change @@ -55,9 +55,8 @@ Frontend-specific API URL generation.
5555This provides a frontend-specific override if needed.
5656*/ }}
5757{{- define " frontend.apiUrl" -}}
58- {{- $frontend := .Values.frontend | default dict -}}
59- {{- if $frontend .apiUrl }}
60- {{- $frontend .apiUrl | quote }}
58+ {{- if .Values.apiUrl }}
59+ {{- .Values.apiUrl | quote }}
6160{{- else }}
6261{{- $backendService := printf " %s -backend" .Release.Name }}
6362{{- $port := " 8800" }}
You can’t perform that action at this time.
0 commit comments