Update filebrowser container to expose port
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
887b6a775e
commit
a0e45295a7
@ -28,9 +28,14 @@ spec:
|
|||||||
name: models
|
name: models
|
||||||
- name: filebrowser
|
- name: filebrowser
|
||||||
image: git.clortox.com/infrastructure/filebrowser:v1.0.1
|
image: git.clortox.com/infrastructure/filebrowser:v1.0.1
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 1000
|
runAsUser: 1000
|
||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
|
volumeMounts:
|
||||||
|
- name: models
|
||||||
|
mountPath: /srv
|
||||||
env:
|
env:
|
||||||
- name: ADMIN_PASS
|
- name: ADMIN_PASS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
@ -47,7 +52,7 @@ spec:
|
|||||||
- name: BRANDING_NAME
|
- name: BRANDING_NAME
|
||||||
value: "Model Files"
|
value: "Model Files"
|
||||||
- name: AUTH_METHOD
|
- name: AUTH_METHOD
|
||||||
value: "proxy"
|
value: "json"
|
||||||
- name: AUTH_HEADER
|
- name: AUTH_HEADER
|
||||||
value: "X-Auth-User"
|
value: "X-Auth-User"
|
||||||
- name: PERM_ADMIN
|
- name: PERM_ADMIN
|
||||||
|
@ -8,6 +8,11 @@ spec:
|
|||||||
selector:
|
selector:
|
||||||
app: localai
|
app: localai
|
||||||
ports:
|
ports:
|
||||||
- port: 8080
|
- name: localai
|
||||||
|
port: 8080
|
||||||
targetPort: 8080
|
targetPort: 8080
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
- name: filebrowswer
|
||||||
|
protocol: TCP
|
||||||
|
port: 80
|
||||||
|
targetPort: 80
|
||||||
|
Loading…
Reference in New Issue
Block a user