Update filebrowser container to expose port
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Tyler Perkins 2024-04-05 21:26:01 -04:00
parent 887b6a775e
commit a0e45295a7
Signed by: tyler
GPG Key ID: 03B27509E17EFDC8
2 changed files with 12 additions and 2 deletions

View File

@ -28,9 +28,14 @@ spec:
name: models
- name: filebrowser
image: git.clortox.com/infrastructure/filebrowser:v1.0.1
ports:
- containerPort: 80
securityContext:
runAsUser: 1000
runAsGroup: 1000
volumeMounts:
- name: models
mountPath: /srv
env:
- name: ADMIN_PASS
valueFrom:
@ -47,7 +52,7 @@ spec:
- name: BRANDING_NAME
value: "Model Files"
- name: AUTH_METHOD
value: "proxy"
value: "json"
- name: AUTH_HEADER
value: "X-Auth-User"
- name: PERM_ADMIN

View File

@ -8,6 +8,11 @@ spec:
selector:
app: localai
ports:
- port: 8080
- name: localai
port: 8080
targetPort: 8080
protocol: TCP
- name: filebrowswer
protocol: TCP
port: 80
targetPort: 80