File tree Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Expand file tree Collapse file tree 6 files changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ DISABLE_SOURCE_MAPS="${DISABLE_SOURCE_MAPS}" \
36
36
UI_APP_CONFIG="${UI_APP_CONFIG}" \
37
37
SOURCE_MAPS_TOKEN="${SOURCE_MAPS_TOKEN}" yarn run build:cvat-ui
38
38
39
- FROM nginx:1.28.0-alpine3.21-slim
39
+ FROM nginxinc/ nginx-unprivileged :1.28.0-alpine3.21-slim
40
40
41
41
# Replace default.conf configuration to remove unnecessary rules
42
- COPY cvat-ui/react_nginx.conf /etc/nginx/conf.d/default.conf
42
+ COPY --chown=nginx:root cvat-ui/react_nginx.conf /etc/nginx/conf.d/default.conf
43
43
COPY cvat-ui/robots.txt /usr/share/nginx/html/
44
44
COPY --from=cvat-ui /tmp/cvat-ui/dist /usr/share/nginx/html/
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ services:
252
252
- cvat_server
253
253
labels :
254
254
traefik.enable : " true"
255
- traefik.http.services.cvat-ui.loadbalancer.server.port : " 80 "
255
+ traefik.http.services.cvat-ui.loadbalancer.server.port : " 8000 "
256
256
traefik.http.routers.cvat-ui.rule : Host(`${CVAT_HOST:-localhost}`)
257
257
traefik.http.routers.cvat-ui.entrypoints : web
258
258
networks :
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ type: application
16
16
# This is the chart version. This version number should be incremented each time you make changes
17
17
# to the chart and its templates, including the app version.
18
18
# Versions are expected to follow Semantic Versioning (https://semver.org/)
19
- version : 0.15.0
19
+ version : 0.15.1
20
20
21
21
# This is the version number of the application being deployed. This version number should be
22
22
# incremented each time you make changes to the application. Versions are not expected to
Original file line number Diff line number Diff line change @@ -39,27 +39,29 @@ spec:
39
39
{{- toYaml . | nindent 12 }}
40
40
{{- end }}
41
41
ports :
42
- - containerPort : 80
42
+ - containerPort : 8000
43
43
{{- with .Values.cvat.frontend.additionalEnv }}
44
44
env :
45
45
{{- toYaml . | nindent 10 }}
46
46
{{- end }}
47
47
{{- if .Values.cvat.frontend.readinessProbe.enabled }}
48
48
readinessProbe :
49
49
tcpSocket :
50
- port : 80
50
+ port : 8000
51
51
{{- toYaml (omit .Values.cvat.frontend.readinessProbe "enabled") | nindent 12 }}
52
52
{{- end }}
53
53
{{- if .Values.cvat.frontend.livenessProbe.enabled }}
54
54
livenessProbe :
55
55
tcpSocket :
56
- port : 80
56
+ port : 8000
57
57
{{- toYaml (omit .Values.cvat.frontend.livenessProbe "enabled") | nindent 12 }}
58
58
{{- end }}
59
59
{{- with .Values.cvat.frontend.additionalVolumeMounts }}
60
60
volumeMounts :
61
61
{{- toYaml . | nindent 10 }}
62
62
{{- end }}
63
+ securityContext :
64
+ runAsNonRoot : true
63
65
{{- with .Values.cvat.frontend.additionalVolumes }}
64
66
volumes :
65
67
{{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ spec:
34
34
service :
35
35
name : {{ $.Release.Name }}-backend-service
36
36
port :
37
- number : 8080
37
+ name : http
38
38
{{- end }}
39
39
- path : /
40
40
pathType : Prefix
41
41
backend :
42
42
service :
43
43
name : {{ .Release.Name }}-frontend-service
44
44
port :
45
- number : 80
45
+ name : http
46
46
{{- end }}
Original file line number Diff line number Diff line change @@ -211,8 +211,8 @@ cvat:
211
211
service :
212
212
type : ClusterIP
213
213
ports :
214
- - port : 80
215
- targetPort : 80
214
+ - port : 8000
215
+ targetPort : 8000
216
216
protocol : TCP
217
217
name : http
218
218
opa :
You can’t perform that action at this time.
0 commit comments