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: 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

View File

@ -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