change UID and GID for homer runtime

This commit is contained in:
2024-06-17 10:50:42 +10:00
parent 7a7a905b41
commit b4b29ec271
2 changed files with 9 additions and 2 deletions

View File

@@ -24,9 +24,16 @@ spec:
containers:
- name: homer
image: b4bz/homer:v24.05.1
env:
- name: GID
value: "0"
- name: UID
value: "0"
- name: PORT
value: "8088"
ports:
- protocol: TCP
containerPort: 8080
containerPort: 8088
name: http
volumeMounts:
- name: assets

View File

@@ -13,5 +13,5 @@ spec:
ports:
- protocol: TCP
port: 8088
targetPort: 8080
targetPort: 8088
name: http