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 1
1
FROM uselagoon/python-3.12:latest
2
2
3
3
RUN apk add bash --no-cache
4
+ RUN apk add curl --no-cache
4
5
5
6
WORKDIR /app
6
7
@@ -20,4 +21,4 @@ RUN mkdir -p /app/logs && \
20
21
COPY backend-start.sh .
21
22
RUN chmod +x /app/backend-start.sh
22
23
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 \
111
111
#### 4. Local deployment with kind
112
112
``` bash
113
113
kind 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
114
119
```
120
+ The system should now be accessable at http://localhost:3000
115
121
116
122
## Configuration
117
123
Original file line number Diff line number Diff line change @@ -55,9 +55,8 @@ Frontend-specific API URL generation.
55
55
This provides a frontend-specific override if needed.
56
56
*/} }
57
57
{ {- 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 } }
61
60
{ {- else } }
62
61
{ {- $backendService := printf " %s-backend" .Release.Name } }
63
62
{ {- $port := " 8800" } }
You can’t perform that action at this time.
0 commit comments