dial in
This commit is contained in:
parent
1892006ab2
commit
f8bd3da6d7
1 changed files with 10 additions and 1 deletions
|
|
@ -36,7 +36,12 @@ spec:
|
||||||
command:
|
command:
|
||||||
- "sh"
|
- "sh"
|
||||||
- "-c"
|
- "-c"
|
||||||
- "cp -a /opt/hermes/. /shared-src/ && chown -R 1024:1000 /shared-src /shared-home"
|
- |
|
||||||
|
cp -a /opt/hermes/. /shared-src/ && chown -R 1024:1000 /shared-src /shared-home
|
||||||
|
mkdir -p /shared-home/.local/bin
|
||||||
|
echo '#!/bin/sh' > /shared-home/.local/bin/gh
|
||||||
|
echo 'exit 1' >> /shared-home/.local/bin/gh
|
||||||
|
chmod +x /shared-home/.local/bin/gh
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0 # Run as root briefly to copy and fix permissions
|
runAsUser: 0 # Run as root briefly to copy and fix permissions
|
||||||
runAsNonRoot: false
|
runAsNonRoot: false
|
||||||
|
|
@ -56,6 +61,8 @@ spec:
|
||||||
- containerPort: 8642
|
- containerPort: 8642
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- name: PATH
|
||||||
|
value: "/home/hermes/.hermes/.local/bin:/opt/hermes/.venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: "/home/hermes/.hermes"
|
value: "/home/hermes/.hermes"
|
||||||
- name: HERMES_HOME
|
- name: HERMES_HOME
|
||||||
|
|
@ -116,6 +123,8 @@ spec:
|
||||||
- containerPort: 8787
|
- containerPort: 8787
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- name: HOME
|
||||||
|
value: "/home/hermeswebui/.hermes"
|
||||||
- name: HERMES_WEBUI_HOST
|
- name: HERMES_WEBUI_HOST
|
||||||
value: "0.0.0.0"
|
value: "0.0.0.0"
|
||||||
- name: HERMES_WEBUI_PORT
|
- name: HERMES_WEBUI_PORT
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue